summaryrefslogtreecommitdiffstats
path: root/configure
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
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')
-rwxr-xr-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 2056550..455e62a 100755
--- a/configure
+++ b/configure
@@ -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)