mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Merge fix for issue #11149.
This commit is contained in:
commit
66611c554d
2 changed files with 12 additions and 0 deletions
6
configure
vendored
6
configure
vendored
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue