summaryrefslogtreecommitdiff
path: root/lang/python27/files/patch-configure
blob: b0d43b5d373a9511f9cd56708e44698b58f5f550 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- configure.orig	2013-01-14 13:38:53.000000000 +0000
+++ configure	2013-01-14 13:39:14.000000000 +0000
@@ -5642,8 +5642,8 @@
 	BASECFLAGS="$BASECFLAGS $ac_arch_flags"
 fi
 
-# disable check for icc since it seems to pass, but generates a warning
-if test "$CC" = icc
+# disable check for icc and clang since it seems to pass, but generates a warning
+if test "$CC" = icc -o "$CC" = clang
 then
   ac_cv_opt_olimit_ok=no
 fi