patch-config_ltmain_sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- ImageMagick-6.6.5-10.orig/config/ltmain.sh 2010-11-21 22:35:22.000000000 +0100
  2. +++ ImageMagick-6.6.5-10/config/ltmain.sh 2011-01-14 00:59:45.000000000 +0100
  3. @@ -5091,7 +5091,7 @@ func_mode_link ()
  4. # @file GCC response files
  5. # -tp=* Portland pgcc target processor selection
  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*|@*|-tp=*)
  8. + -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|-fstack-protector*|-flto)
  9. func_quote_for_eval "$arg"
  10. arg="$func_quote_for_eval_result"
  11. func_append compile_command " $arg"
  12. @@ -5843,27 +5843,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 &&