patch-ltmain_sh 972 B

123456789101112131415161718192021222324252627
  1. --- audiofile-0.2.7.orig/ltmain.sh 2010-03-22 04:48:34.000000000 +0100
  2. +++ audiofile-0.2.7/ltmain.sh 2011-01-14 23:13:46.000000000 +0100
  3. @@ -1422,7 +1422,6 @@ EOF
  4. esac
  5. continue
  6. ;;
  7. -
  8. -L*)
  9. dir=`$echo "X$arg" | $Xsed -e 's/^-L//'`
  10. # We need an absolute path.
  11. @@ -1503,15 +1502,9 @@ EOF
  12. # but this is not reliable with gcc because gcc may use -mfoo to
  13. # select a different linker, different libraries, etc, while
  14. # -Wl,-mfoo simply passes -mfoo to the linker.
  15. - -m*)
  16. + -m*|-fstack-protector*|-flto)
  17. # Unknown arguments in both finalize_command and compile_command need
  18. # to be aesthetically quoted because they are evaled later.
  19. - arg=`$echo "X$arg" | $Xsed -e "$sed_quote_subst"`
  20. - case $arg in
  21. - *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"")
  22. - arg="\"$arg\""
  23. - ;;
  24. - esac
  25. compile_command="$compile_command $arg"
  26. finalize_command="$finalize_command $arg"
  27. if test "$with_gcc" = "yes" ; then