diff options
author | Stefan Krah <skrah@bytereef.org> | 2011-09-14 13:17:12 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2011-09-14 13:17:12 (GMT) |
commit | 66611c554d074ccff4c7b152c305e09bbd8e636a (patch) | |
tree | 3add532bba3e8fdd9488b7bc4c1955c0a4e512aa | |
parent | b77fe173203139af07eaee17c3540ae8fdd3a672 (diff) | |
parent | 962055d3c658e9b2e75ba4c3682c3639eea9aed8 (diff) | |
download | cpython-66611c554d074ccff4c7b152c305e09bbd8e636a.zip cpython-66611c554d074ccff4c7b152c305e09bbd8e636a.tar.gz cpython-66611c554d074ccff4c7b152c305e09bbd8e636a.tar.bz2 |
Merge fix for issue #11149.
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -5450,6 +5450,12 @@ then if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then WRAP="-fwrapv" fi + + # Clang also needs -fwrapv + if test "$CC" = "clang" ; then + WRAP="-fwrapv" + fi + case $ac_cv_prog_cc_g in yes) if test "$Py_DEBUG" = 'true' ; then diff --git a/configure.in b/configure.in index 5a16bb0..315a832 100644 --- a/configure.in +++ b/configure.in @@ -905,6 +905,12 @@ then if "$CC" -v --help 2>/dev/null |grep -- -fwrapv > /dev/null; then WRAP="-fwrapv" fi + + # Clang also needs -fwrapv + if test "$CC" = "clang" ; then + WRAP="-fwrapv" + fi + case $ac_cv_prog_cc_g in yes) if test "$Py_DEBUG" = 'true' ; then |