patch-ltmain_sh 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. --- dbus-1.2.24.orig/ltmain.sh 2010-03-12 23:22:29.000000000 +0100
  2. +++ dbus-1.2.24/ltmain.sh 2011-01-14 19:22:39.000000000 +0100
  3. @@ -4765,7 +4765,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. @@ -5516,27 +5516,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 &&