diff options
author | Richard Purdie <richard@openedhand.com> | 2008-09-04 11:48:03 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-09-04 11:48:03 +0000 |
commit | f46cad811fe2a618e44981a6e155df13e25afeb0 (patch) | |
tree | 902fa7ecdeabb06150779d33c75598f551531053 | |
parent | 9a90cab4761addf35222e0210943fc16c3a15a30 (diff) | |
download | poky-f46cad811fe2a618e44981a6e155df13e25afeb0.tar.gz |
poky-eabi.inc: Start using the --as-needed flag when linking to reduce uneeded link time dependencies
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5138 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/conf/distro/include/poky-eabi.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/conf/distro/include/poky-eabi.inc b/meta/conf/distro/include/poky-eabi.inc index 711970bf2c..c995058ddc 100644 --- a/meta/conf/distro/include/poky-eabi.inc +++ b/meta/conf/distro/include/poky-eabi.inc | |||
@@ -32,3 +32,8 @@ PREFERRED_VERSION_linux-libc-headers ?= "2.6.24" | |||
32 | PREFERRED_VERSION_glibc ?= "2.6.1" | 32 | PREFERRED_VERSION_glibc ?= "2.6.1" |
33 | PREFERRED_VERSION_glibc-initial ?= "2.6.1" | 33 | PREFERRED_VERSION_glibc-initial ?= "2.6.1" |
34 | PREFERRED_VERSION_elfutils ?= "0.131" | 34 | PREFERRED_VERSION_elfutils ?= "0.131" |
35 | |||
36 | ASNEEDED = "-Wl,--as-needed" | ||
37 | ASNEEDED_pn-console-tools = "" | ||
38 | |||
39 | TARGET_LDFLAGS += "${ASNEEDED}" | ||