]> code.ossystems Code Review - openembedded-core.git/commit
bitbake.conf: include ASNEEDED in TARGET_LDFLAGS directly
authorAndre McCurdy <armccurdy@gmail.com>
Tue, 29 May 2018 21:29:47 +0000 (14:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 3 Jun 2018 15:54:22 +0000 (16:54 +0100)
commit996bcb143cb8755cadb986e084b5f24e3ffdb03b
tree718bcf5de03bdcf9648c0e65d5216a45b39330c0
parentd47245b038d27aa5228052af71d973b9ac1c3a46
bitbake.conf: include ASNEEDED in TARGET_LDFLAGS directly

Previously, ASNEEDED was appended to TARGET_LDFLAGS from
as-needed.inc via tcmode-default.inc and so may not have been enabled
for external toolchain builds or other configurations which over-ride
TCMODE (ie builds which do not include tcmode-default.inc).

Include ASNEEDED in TARGET_LDFLAGS directly from bitbake.conf to
ensure that the optimisation is applied to all builds (and for
consistency with the way that TARGET_LINK_HASH_STYLE is handled).

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/bitbake.conf
meta/conf/distro/include/as-needed.inc [deleted file]
meta/conf/distro/include/tcmode-default.inc