Merge fix for issue #11149.

This commit is contained in:
Stefan Krah 2011-09-14 15:17:12 +02:00
commit 66611c554d
2 changed files with 12 additions and 0 deletions

6
configure vendored
View file

@ -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

View file

@ -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