patch-ltmain_sh 966 B

1234567891011121314151617181920
  1. --- gpsd-2.95.orig/ltmain.sh 2010-06-18 22:54:26.000000000 +0200
  2. +++ gpsd-2.95/ltmain.sh 2011-01-15 20:23:12.000000000 +0100
  3. @@ -4765,7 +4765,7 @@ func_mode_link ()
  4. # -p, -pg, --coverage, -fprofile-* pass through profiling flag for GCC
  5. # @file GCC response files
  6. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  7. - -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*)
  8. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-fstack-protector*|-flto)
  9. func_quote_for_eval "$arg"
  10. arg="$func_quote_for_eval_result"
  11. func_append compile_command " $arg"
  12. @@ -4963,7 +4963,7 @@ func_mode_link ()
  13. done
  14. if test "$linkmode" = lib; then
  15. - libs="$predeps $libs $compiler_lib_search_path $postdeps"
  16. + libs="$libs $compiler_lib_search_path"
  17. # Compute libraries that are listed more than once in $predeps
  18. # $postdeps and mark them as special (i.e., whose duplicates are