patch-libltdl_config_ltmain_sh 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --- libtool-2.4.orig/libltdl/config/ltmain.sh 2010-09-22 16:45:43.000000000 +0200
  2. +++ libtool-2.4/libltdl/config/ltmain.sh 2011-01-15 12:03:36.000000000 +0100
  3. @@ -136,15 +136,15 @@ progpath="$0"
  4. : ${CP="cp -f"}
  5. test "${ECHO+set}" = set || ECHO=${as_echo-'printf %s\n'}
  6. -: ${EGREP="grep -E"}
  7. -: ${FGREP="grep -F"}
  8. -: ${GREP="grep"}
  9. +: ${EGREP="/usr/bin/grep -E"}
  10. +: ${FGREP="/usr/bin/grep -F"}
  11. +: ${GREP="/usr/bin/grep"}
  12. : ${LN_S="ln -s"}
  13. : ${MAKE="make"}
  14. : ${MKDIR="mkdir"}
  15. : ${MV="mv -f"}
  16. : ${RM="rm -f"}
  17. -: ${SED="sed"}
  18. +: ${SED="/Volumes/adk/openadk/scripts/sed"}
  19. : ${SHELL="${CONFIG_SHELL-/bin/sh}"}
  20. : ${Xsed="$SED -e 1s/^X//"}
  21. @@ -5840,7 +5840,7 @@ func_mode_link ()
  22. # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
  23. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  24. -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
  25. - -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
  26. + -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*)
  27. func_quote_for_eval "$arg"
  28. arg="$func_quote_for_eval_result"
  29. func_append compile_command " $arg"