summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2011-12-08 21:22:58 (GMT)
committerStefan Krah <skrah@bytereef.org>2011-12-08 21:22:58 (GMT)
commit9a17cc3c53267ea39bc46bd5168076e91874a5d1 (patch)
treee7af75b90c8a47aa4ebf26421cdd95ffcb557eb7 /configure.in
parentbc9f0c68f5fc2376817206354833af101985e3e2 (diff)
parentaf04ff2b974415f3f93d70f974a40b0445cf4aca (diff)
downloadcpython-9a17cc3c53267ea39bc46bd5168076e91874a5d1.zip
cpython-9a17cc3c53267ea39bc46bd5168076e91874a5d1.tar.gz
cpython-9a17cc3c53267ea39bc46bd5168076e91874a5d1.tar.bz2
Merge second fix for issue #11149.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in7
1 files changed, 4 insertions, 3 deletions
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)