diff options
author | Stefan Krah <skrah@bytereef.org> | 2011-12-08 21:22:58 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2011-12-08 21:22:58 (GMT) |
commit | 9a17cc3c53267ea39bc46bd5168076e91874a5d1 (patch) | |
tree | e7af75b90c8a47aa4ebf26421cdd95ffcb557eb7 | |
parent | bc9f0c68f5fc2376817206354833af101985e3e2 (diff) | |
parent | af04ff2b974415f3f93d70f974a40b0445cf4aca (diff) | |
download | cpython-9a17cc3c53267ea39bc46bd5168076e91874a5d1.zip cpython-9a17cc3c53267ea39bc46bd5168076e91874a5d1.tar.gz cpython-9a17cc3c53267ea39bc46bd5168076e91874a5d1.tar.bz2 |
Merge second fix for issue #11149.
-rwxr-xr-x | configure | 7 | ||||
-rw-r--r-- | configure.in | 7 |
2 files changed, 8 insertions, 6 deletions
@@ -5450,9 +5450,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) diff --git a/configure.in b/configure.in index 07ec3e2..95fb8c5 100644 --- a/configure.in +++ b/configure.in @@ -907,9 +907,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) |