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
This commit is contained in:
Richard Purdie
2008-09-04 11:48:03 +00:00
parent 9a90cab476
commit f46cad811f

View File

@@ -32,3 +32,8 @@ PREFERRED_VERSION_linux-libc-headers ?= "2.6.24"
PREFERRED_VERSION_glibc ?= "2.6.1"
PREFERRED_VERSION_glibc-initial ?= "2.6.1"
PREFERRED_VERSION_elfutils ?= "0.131"
ASNEEDED = "-Wl,--as-needed"
ASNEEDED_pn-console-tools = ""
TARGET_LDFLAGS += "${ASNEEDED}"