Commit e64ce65f authored by Stefan Krah's avatar Stefan Krah

Issue #11149: recent versions of clang require the -fwrapv flag.

parent 7b1a431c
......@@ -5504,6 +5504,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
......
......@@ -926,6 +926,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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment