cpython: 7efad6256e58 (original) (raw)
Mercurial > cpython
changeset 73890:7efad6256e58 3.2
Issue #11149: Also enable -fwrapv if $CC is a full path or has a trailing version number. [#11149]
Stefan Krah skrah@bytereef.org | |
---|---|
date | Thu, 08 Dec 2011 22:20:31 +0100 |
parents | c143e66e5efe |
children | e48df59af394 8ed2c4d4df62 |
files | configure configure.in |
diffstat | 2 files changed, 8 insertions(+), 6 deletions(-)[+] [-] configure 7 configure.in 7 |
line wrap: on
line diff
--- a/configure +++ b/configure @@ -5498,9 +5498,10 @@ then fi # Clang also needs -fwrapv
if test "$CC" = "clang" ; then[](#l1.7)
WRAP="-fwrapv"[](#l1.8)
fi[](#l1.9)
case $CC in[](#l1.10)
*clang*) WRAP="-fwrapv"[](#l1.11)
;;[](#l1.12)
esac[](#l1.13)
--- a/configure.in +++ b/configure.in @@ -928,9 +928,10 @@ then fi # Clang also needs -fwrapv
if test "$CC" = "clang" ; then[](#l2.7)
WRAP="-fwrapv"[](#l2.8)
fi[](#l2.9)
case $CC in[](#l2.10)
*clang*) WRAP="-fwrapv"[](#l2.11)
;;[](#l2.12)
esac[](#l2.13)