From 350f068eb5aa57d363b6c32a1b7811f98b3c4e18 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Wed, 15 Oct 2008 22:57:49 +0200 Subject: [link] Allow to use -Wl,--as-needed when linking (idea from poky) With --as-needed the linker will only emit SO_NEEDED for the libraries that are actually required and not the one given on the command line. This can drastically reduce the number of needed libraries. Sometimes this does not work and this is where broken-as-needed.inc will collect packages that do not work with --as-needed. The current list is taken from poky. Enable this for angstrom and eglibc, glibc and uclibc as this requires a binutils version from around ~2006. Also bump the DISTRO_PR after this change. --- conf/distro/include/broken-as-needed.inc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 conf/distro/include/broken-as-needed.inc (limited to 'conf/distro/include/broken-as-needed.inc') diff --git a/conf/distro/include/broken-as-needed.inc b/conf/distro/include/broken-as-needed.inc new file mode 100644 index 0000000000..ea530f6078 --- /dev/null +++ b/conf/distro/include/broken-as-needed.inc @@ -0,0 +1,10 @@ +# Packages that break when trying to link with --as-needed +TARGET_ASNEEDED_pn-console-tools = "" +TARGET_ASNEEDED_pn-dialer = "" +TARGET_ASNEEDED_pn-distcc = "" +TARGET_ASNEEDED_pn-icu = "" +TARGET_ASNEEDED_pn-minimo = "" +TARGET_ASNEEDED_pn-openobex = "" +TARGET_ASNEEDED_pn-pciutils = "" +TARGET_ASNEEDED_pn-puzzles = "" +TARGET_ASNEEDED_pn-xserver-kdrive-xomap = "" -- cgit 1.2.3-korg