perl-fnostack-protector 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --- Configure.orig 2013-05-10 11:13:56.000000000 -0300
  2. +++ Configure 2013-05-20 17:02:58.000000000 -0300
  3. @@ -5119,7 +5119,7 @@
  4. # as that way the compiler can do the right implementation dependant
  5. # thing. (NWC)
  6. case "$gccversion" in
  7. - ?*) set stack-protector -fstack-protector
  8. + ?*) set stack-protector -fnostack-protector
  9. eval $checkccflag
  10. ;;
  11. esac
  12. @@ -5261,12 +5261,12 @@
  13. ;;
  14. *) dflt="$ldflags";;
  15. esac
  16. -# See note above about -fstack-protector
  17. +# See note above about -fnostack-protector
  18. case "$ccflags" in
  19. -*-fstack-protector*)
  20. +*-fnostack-protector*)
  21. case "$dflt" in
  22. - *-fstack-protector*) ;; # Don't add it again
  23. - *) dflt="$dflt -fstack-protector" ;;
  24. + *-fnostack-protector*) ;; # Don't add it again
  25. + *) dflt="$dflt -fnostack-protector" ;;
  26. esac
  27. ;;
  28. esac
  29. @@ -8091,10 +8091,10 @@
  30. esac
  31. case "$ldflags" in
  32. - *-fstack-protector*)
  33. + *-fnostack-protector*)
  34. case "$dflt" in
  35. - *-fstack-protector*) ;; # Don't add it again
  36. - *) dflt="$dflt -fstack-protector" ;;
  37. + *-fnostack-protector*) ;; # Don't add it again
  38. + *) dflt="$dflt -fnostack-protector" ;;
  39. esac
  40. ;;
  41. esac