diff options
-rw-r--r-- | eclass/ELT-patches/as-needed/1.5 | 4 | ||||
-rw-r--r-- | eclass/ELT-patches/as-needed/1.5.26 | 4 | ||||
-rw-r--r-- | eclass/ELT-patches/as-needed/2.2.6 | 4 |
3 files changed, 6 insertions, 6 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" diff --git a/eclass/ELT-patches/as-needed/1.5.26 b/eclass/ELT-patches/as-needed/1.5.26 index 8afd6d47dbdd..6836c55e1433 100644 --- a/eclass/ELT-patches/as-needed/1.5.26 +++ b/eclass/ELT-patches/as-needed/1.5.26 @@ -6,7 +6,7 @@ arg=`$echo "X$arg" | $Xsed -e "s/^ //"` ;; -+ -Wl,--as-needed) ++ -Wl,--as-needed|-Wl,--no-as-needed) + deplibs="$deplibs $arg" + continue + ;; @@ -22,7 +22,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" diff --git a/eclass/ELT-patches/as-needed/2.2.6 b/eclass/ELT-patches/as-needed/2.2.6 index c56369be7606..7e71de4618dc 100644 --- a/eclass/ELT-patches/as-needed/2.2.6 +++ b/eclass/ELT-patches/as-needed/2.2.6 @@ -6,7 +6,7 @@ arg=$func_stripname_result ;; -+ -Wl,--as-needed) ++ -Wl,--as-needed|-Wl,--no-as-needed) + deplibs="$deplibs $arg" + continue + ;; @@ -22,7 +22,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" |