mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Issue #11149: Also enable -fwrapv if $CC is a full path
or has a trailing version number.
This commit is contained in:
parent
0cd479074d
commit
af04ff2b97
2 changed files with 8 additions and 6 deletions
7
configure
vendored
7
configure
vendored
|
@ -5498,9 +5498,10 @@ then
|
|||
fi
|
||||
|
||||
# Clang also needs -fwrapv
|
||||
if test "$CC" = "clang" ; then
|
||||
WRAP="-fwrapv"
|
||||
fi
|
||||
case $CC in
|
||||
*clang*) WRAP="-fwrapv"
|
||||
;;
|
||||
esac
|
||||
|
||||
case $ac_cv_prog_cc_g in
|
||||
yes)
|
||||
|
|
|
@ -928,9 +928,10 @@ then
|
|||
fi
|
||||
|
||||
# Clang also needs -fwrapv
|
||||
if test "$CC" = "clang" ; then
|
||||
WRAP="-fwrapv"
|
||||
fi
|
||||
case $CC in
|
||||
*clang*) WRAP="-fwrapv"
|
||||
;;
|
||||
esac
|
||||
|
||||
case $ac_cv_prog_cc_g in
|
||||
yes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue