/[gentoo-x86]/eclass/ELT-patches/as-needed/2.2.6
Gentoo

Diff of /eclass/ELT-patches/as-needed/2.2.6

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
4 IFS="$save_ifs" 4 IFS="$save_ifs"
5 func_stripname ' ' '' "$arg" 5 func_stripname ' ' '' "$arg"
6 arg=$func_stripname_result 6 arg=$func_stripname_result
7 ;; 7 ;;
8 8
9+ -Wl,--as-needed) 9+ -Wl,--as-needed|-Wl,--no-as-needed)
10+ deplibs="$deplibs $arg" 10+ deplibs="$deplibs $arg"
11+ continue 11+ continue
12+ ;; 12+ ;;
13+ 13+
14 -Wl,*) 14 -Wl,*)
20 20
21 for deplib in $libs; do 21 for deplib in $libs; do
22 lib= 22 lib=
23 found=no 23 found=no
24 case $deplib in 24 case $deplib in
25+ -Wl,--as-needed) 25+ -Wl,--as-needed|-Wl,--no-as-needed)
26+ if test "$linkmode,$pass" = "prog,link"; then 26+ if test "$linkmode,$pass" = "prog,link"; then
27+ compile_deplibs="$deplib $compile_deplibs" 27+ compile_deplibs="$deplib $compile_deplibs"
28+ finalize_deplibs="$deplib $finalize_deplibs" 28+ finalize_deplibs="$deplib $finalize_deplibs"
29+ else 29+ else
30+ deplibs="$deplib $deplibs" 30+ deplibs="$deplib $deplibs"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20