mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
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:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user