[OE-core] flto automake

Khem Raj raj.khem at gmail.com
Thu Dec 20 12:19:24 AEDT 2018


On Tue, Dec 18, 2018 at 5:07 PM Burton, Ross <ross.burton at intel.com> wrote:
>
> On Wed, 19 Dec 2018 at 00:42, Brad Bishop <bradleyb at fuzziesquirrel.com> wrote:
>
> > I wonder if this is something they would be interested in upstream.  I’ve copied
> > the oe-core mailing list for possible comment.
>
> Thanks for forwarding this to us.  The class is very simple and just does:
>
> PACKAGECONFIG_CONFARGS += " AR=${TARGET_PREFIX}gcc-ar \
> RANLIB=${TARGET_PREFIX}gcc-ranlib"
>
> That's quite an abuse of PACKAGECONFIG_CONFARGS, I'd recommend just
> setting AR and RANLIB directly in the class, they'll override the
> defaults in bitbake.conf.
>
> That however leads to the question of should we just change the
> defaults? Does anything break if we use gcc-ar instead of ar?

Dont think that is a good idea in general since gcc-ar is a wrapper
around normal ar
passing --plugin=/path/to/lto/plugin/so and that may not be right
thing to do always.

>
> Ross
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the openbmc mailing list