patch-configure 944 B

12345678910111213141516171819202122232425262728293031323334
  1. --- Python-3.3.2.orig/configure 2013-05-15 18:33:00.000000000 +0200
  2. +++ Python-3.3.2/configure 2013-10-24 16:05:44.000000000 +0200
  3. @@ -6214,10 +6214,6 @@ then
  4. if test "$CC" != 'g++' ; then
  5. STRICT_PROTO="-Wstrict-prototypes"
  6. fi
  7. - # For gcc 4.x we need to use -fwrapv so lets check if its supported
  8. - if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then
  9. - WRAP="-fwrapv"
  10. - fi
  11. # Clang also needs -fwrapv
  12. case $CC in
  13. @@ -6225,20 +6221,6 @@ then
  14. ;;
  15. esac
  16. - case $ac_cv_prog_cc_g in
  17. - yes)
  18. - if test "$Py_DEBUG" = 'true' ; then
  19. - # Optimization messes up debuggers, so turn it off for
  20. - # debug builds.
  21. - OPT="-g -O0 -Wall $STRICT_PROTO"
  22. - else
  23. - OPT="-g $WRAP -O3 -Wall $STRICT_PROTO"
  24. - fi
  25. - ;;
  26. - *)
  27. - OPT="-O3 -Wall $STRICT_PROTO"
  28. - ;;
  29. - esac
  30. case $ac_sys_system in
  31. SCO_SV*) OPT="$OPT -m486 -DSCO5"
  32. ;;