mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Backport second fix for issue #11149.
This commit is contained in:
parent
0de2aaea7f
commit
2bc1e8fbf2
2 changed files with 8 additions and 6 deletions
7
configure
vendored
7
configure
vendored
|
@ -5413,9 +5413,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clang also needs -fwrapv
|
# Clang also needs -fwrapv
|
||||||
if test "$CC" = "clang" ; then
|
case $CC in
|
||||||
WRAP="-fwrapv"
|
*clang*) WRAP="-fwrapv"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $ac_cv_prog_cc_g in
|
case $ac_cv_prog_cc_g in
|
||||||
yes)
|
yes)
|
||||||
|
|
|
@ -934,9 +934,10 @@ then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Clang also needs -fwrapv
|
# Clang also needs -fwrapv
|
||||||
if test "$CC" = "clang" ; then
|
case $CC in
|
||||||
WRAP="-fwrapv"
|
*clang*) WRAP="-fwrapv"
|
||||||
fi
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case $ac_cv_prog_cc_g in
|
case $ac_cv_prog_cc_g in
|
||||||
yes)
|
yes)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue