[OE-core] flto automake

Burton, Ross ross.burton at intel.com
Thu Dec 20 23:37:33 AEDT 2018


On Thu, 20 Dec 2018 at 01:20, Khem Raj <raj.khem at gmail.com> wrote:
> > 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.

Well, I built core-image-sato core-image-weston with AR=gcc-ar
RANLIB=gcc-ranlib globally and it worked fine.

As we build the cross gcc we know what is in it.  Other toolchains be
they clang, ICC, or external GCCs, can override AR just like they do
the other variables.

Ross


More information about the openbmc mailing list