aboutsummaryrefslogtreecommitdiffstats
path: root/conf/distro/include/angstrom-ldflags.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-ldflags.inc
parentf6fb860bffabaf25052a487e922b25115c104608 (diff)
downloadopenembedded-44ec0ef1a3cc835b5b1df6b8a340340bcc4342ea.tar.gz
angstrom: add an option to use -Wl,--as-needed for glibc buildskoen/static-libs-rework
Console-image builds and seems to work, but this needs lots of testing before getting enabled
Diffstat (limited to 'conf/distro/include/angstrom-ldflags.inc')
-rw-r--r--conf/distro/include/angstrom-ldflags.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/conf/distro/include/angstrom-ldflags.inc b/conf/distro/include/angstrom-ldflags.inc
new file mode 100644
index 0000000000..6c60568798
--- /dev/null
+++ b/conf/distro/include/angstrom-ldflags.inc
@@ -0,0 +1,26 @@
+
+# Set as-need to an intermediate var...
+ASNEEDED = "-Wl,--as-needed"
+
+# ...so we can blacklist it for recipes that break with it
+ASNEEDED_pn-console-tools = ""
+ASNEEDED_pn-distcc = ""
+ASNEEDED_pn-openobex = ""
+ASNEEDED_pn-icu = ""
+ASNEEDED_pn-xserver-kdrive-xomap = ""
+ASNEEDED_pn-minimo = ""
+ASNEEDED_pn-pciutils = ""
+ASNEEDED_pn-puzzles = ""
+ASNEEDED_pn-dialer = ""
+ASNEEDED_pn-pulseaudio = ""
+ASNEEDED_pn-python = ""
+ASNEEDED_pn-libproxy = ""
+ASNEEDED_pn-libxsettings-client = ""
+ASNEEDED_pn-libmatchbox = ""
+ASNEEDED_pn-faac = ""
+ASNEEDED_pn-wireless-tools = ""
+ASNEEDED_pn-ffmpeg = ""
+
+# Append it to TARGET_LDLFLAGS
+TARGET_LDFLAGS += "${ASNEEDED}"
+