summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2011-12-08 21:26:06 (GMT)
committerStefan Krah <skrah@bytereef.org>2011-12-08 21:26:06 (GMT)
commit2bc1e8fbf2c5be55e1f186d956121bc26eee40c5 (patch)
tree8f32ed52662cba2508e53f92f8310c40457b50fa /configure
parent0de2aaea7fbc5b9b5af1a01981db72e5e8e29283 (diff)
downloadcpython-2bc1e8fbf2c5be55e1f186d956121bc26eee40c5.zip
cpython-2bc1e8fbf2c5be55e1f186d956121bc26eee40c5.tar.gz
cpython-2bc1e8fbf2c5be55e1f186d956121bc26eee40c5.tar.bz2
Backport 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 72a758e..3948080 100755
--- a/configure
+++ b/configure
@@ -5413,9 +5413,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)