patch-build-aux_ltmain_sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- gettext-0.18.1.1.orig/build-aux/ltmain.sh 2010-06-06 14:49:57.000000000 +0200
  2. +++ gettext-0.18.1.1/build-aux/ltmain.sh 2011-01-14 12:26:11.000000000 +0100
  3. @@ -4901,7 +4901,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. @@ -5652,27 +5652,6 @@ func_mode_link ()
  13. esac
  14. fi
  15. - # Hardcode the library path.
  16. - # Skip directories that are in the system default run-time
  17. - # search path.
  18. - case " $sys_lib_dlsearch_path " in
  19. - *" $absdir "*) ;;
  20. - *)
  21. - case "$compile_rpath " in
  22. - *" $absdir "*) ;;
  23. - *) compile_rpath="$compile_rpath $absdir"
  24. - esac
  25. - ;;
  26. - esac
  27. - case " $sys_lib_dlsearch_path " in
  28. - *" $libdir "*) ;;
  29. - *)
  30. - case "$finalize_rpath " in
  31. - *" $libdir "*) ;;
  32. - *) finalize_rpath="$finalize_rpath $libdir"
  33. - esac
  34. - ;;
  35. - esac
  36. fi # $linkmode,$pass = prog,link...
  37. if test "$alldeplibs" = yes &&