[Buildroot] [PATCH] meson: Use AR via wrapper
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Wed Oct 10 06:43:46 UTC 2018
Hello,
On Tue, 9 Oct 2018 22:34:06 +0200, Yann E. MORIN wrote:
> > -ar = '@TARGET_CROSS at ar'
> > +ar = '@TARGET_CROSS at gcc-ar'
>
> I was curioous as to see for how long gcc provided that wrapper. It
> turns out that at least 4.9 did.
Actually, we support external toolchains older than gcc 4.9. So no, it
is not good to use gcc-ar unconditionally.
So, it's like I replied on the LTO-enabling patch for systemd, we need
a global Config.in option that tells us if the toolchain supports LTO
or not, and another if the user wants to use LTO.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list