patch-ltmain_sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- opensc-0.11.13.orig/ltmain.sh 2011-01-16 13:51:11.000000000 +0100
  2. +++ opensc-0.11.13/ltmain.sh 2011-01-16 13:46:22.000000000 +0100
  3. @@ -5840,7 +5840,7 @@ func_mode_link ()
  4. # -O*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization
  5. -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \
  6. -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \
  7. - -O*|-flto*|-fwhopr*|-fuse-linker-plugin)
  8. + -O*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*)
  9. func_quote_for_eval "$arg"
  10. arg="$func_quote_for_eval_result"
  11. func_append compile_command " $arg"
  12. @@ -6635,27 +6635,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. - *) func_append 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. - *) func_append finalize_rpath " $libdir" ;;
  33. - esac
  34. - ;;
  35. - esac
  36. fi # $linkmode,$pass = prog,link...
  37. if test "$alldeplibs" = yes &&