summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2011-12-08 22:30:18 +0100
committerStefan Krah <skrah@bytereef.org>2011-12-08 22:30:18 +0100
commit2ac5fac2680110d079cbefdcca34adf594e24c73 (patch)
tree2d43b81453eb6b4b99199f1263c15f1759f1e0d2
parent8faf8216e42d78d53e92e3f3035384ecfa809d12 (diff)
parent9a17cc3c53267ea39bc46bd5168076e91874a5d1 (diff)
downloadcpython-git-2ac5fac2680110d079cbefdcca34adf594e24c73.tar.gz
Merge.
-rwxr-xr-xconfigure7
-rw-r--r--configure.in7
2 files changed, 8 insertions, 6 deletions
diff --git a/configure b/configure
index 2056550f83..455e62a87f 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)
diff --git a/configure.in b/configure.in
index 07ec3e2087..95fb8c5ddd 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)