summaryrefslogtreecommitdiff
path: root/conf/distro/include/angstrom-glibc.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-10-26 18:21:05 +0100
committerKoen Kooi <koen@openembedded.org>2009-10-27 10:25:09 +0100
commit44ec0ef1a3cc835b5b1df6b8a340340bcc4342ea (patch)
tree0bf1fcd89f5468ef87cc482d1d7aa8ebfe3a6d17 /conf/distro/include/angstrom-glibc.inc
parentf6fb860bffabaf25052a487e922b25115c104608 (diff)
angstrom: add an option to use -Wl,--as-needed for glibc builds
Console-image builds and seems to work, but this needs lots of testing before getting enabled
Diffstat (limited to 'conf/distro/include/angstrom-glibc.inc')
-rw-r--r--conf/distro/include/angstrom-glibc.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/distro/include/angstrom-glibc.inc b/conf/distro/include/angstrom-glibc.inc
index 6fdf0d3c77..c8607c6001 100644
--- a/conf/distro/include/angstrom-glibc.inc
+++ b/conf/distro/include/angstrom-glibc.inc
@@ -24,5 +24,8 @@ BUILD_OPTIMIZATION_pn-perl-native = "-O1 -g"
TARGET_LINK_HASH_STYLE = "${@['-Wl,--hash-style=gnu',''][bb.data.getVar('TARGET_ARCH',d,1) in ['mips', 'mipsel']]}"
+# Disable -Wl,as-needed for now till all the test come back OK
+#require conf/distro/include/angstrom-ldflags.inc
+
CXXFLAGS += "-fvisibility-inlines-hidden"