diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-09-14 15:46:17 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-09-14 15:46:17 (GMT) |
commit | 02ba6c291615616cc1dfcacd575eb52fafc2fb43 (patch) | |
tree | 10ea7a3b4a315d1e60d2aedf258c5450b9bbbde0 | |
parent | 9428d53eb4936df3060f4002d9cc005e303adbbc (diff) | |
parent | 66611c554d074ccff4c7b152c305e09bbd8e636a (diff) | |
download | cpython-02ba6c291615616cc1dfcacd575eb52fafc2fb43.zip cpython-02ba6c291615616cc1dfcacd575eb52fafc2fb43.tar.gz cpython-02ba6c291615616cc1dfcacd575eb52fafc2fb43.tar.bz2 |
merge heads
-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 |