summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-16 14:21:13 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-05-16 14:21:13 +0000
commit0f1023ded388e7decdede3d0f121f7c3f62c946f (patch)
tree7b064ac679c1807637db5458678d4362db540398 /eclass/ELT-patches/as-needed/1.5
parentUse global gsm USE flag instead of local one (diff)
downloadgentoo-2-0f1023ded388e7decdede3d0f121f7c3f62c946f.tar.gz
gentoo-2-0f1023ded388e7decdede3d0f121f7c3f62c946f.tar.bz2
gentoo-2-0f1023ded388e7decdede3d0f121f7c3f62c946f.zip
Pass --no-as-needed as well as --as-needed otherwise blacklisting will fail. Closes bug #269933.
Diffstat (limited to 'eclass/ELT-patches/as-needed/1.5')
-rw-r--r--eclass/ELT-patches/as-needed/1.54
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ELT-patches/as-needed/1.5 b/eclass/ELT-patches/as-needed/1.5
index d9d45652c505..01759c93f903 100644
--- a/eclass/ELT-patches/as-needed/1.5
+++ b/eclass/ELT-patches/as-needed/1.5
@@ -4,7 +4,7 @@
arg=`$echo "X$arg" | $Xsed -e "s/^ //"`
;;
-+ -Wl,--as-needed)
++ -Wl,--as-needed|-Wl,--no-as-needed)
+ deplibs="$deplibs $arg"
+ continue
+ ;;
@@ -16,7 +16,7 @@
lib=
found=no
case $deplib in
-+ -Wl,--as-needed)
++ -Wl,--as-needed|-Wl,--no-as-needed)
+ if test "$linkmode,$pass" = "prog,link"; then
+ compile_deplibs="$deplib $compile_deplibs"
+ finalize_deplibs="$deplib $finalize_deplibs"