mirror of https://github.com/python/cpython
Backport fix for issue #11149.
This commit is contained in:
parent
0d4c34c6ec
commit
503e5e12c2
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue