Backport fix for issue #11149.

This commit is contained in:
Stefan Krah 2011-09-14 15:19:42 +02:00
parent 0d4c34c6ec
commit 503e5e12c2
2 changed files with 12 additions and 0 deletions

6
configure vendored
View File

@ -5411,6 +5411,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

@ -932,6 +932,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