summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:39:28 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-01-07 21:39:28 (GMT)
commit020c46aa1f1f39b8afb9baf6af278e3c444d8465 (patch)
tree6e071c2c89e28e6bbf97f3e0106ea839056ee098 /configure.in
parent8208b646704822e4111ce9d8e8ad17bc7bd60046 (diff)
downloadcpython-020c46aa1f1f39b8afb9baf6af278e3c444d8465.zip
cpython-020c46aa1f1f39b8afb9baf6af278e3c444d8465.tar.gz
cpython-020c46aa1f1f39b8afb9baf6af278e3c444d8465.tar.bz2
icc accepts -OPT... but generates a warning, so just disable the check
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index db2bf52..67d1903 100644
--- a/configure.in
+++ b/configure.in
@@ -775,6 +775,12 @@ then
BASECFLAGS="$BASECFLAGS $ac_arch_flags"
fi
+# disable check for icc since it seems to pass, but generates a warning
+if test "$CC" = icc
+then
+ ac_cv_opt_olimit_ok=no
+fi
+
AC_MSG_CHECKING(whether $CC accepts -OPT:Olimit=0)
AC_CACHE_VAL(ac_cv_opt_olimit_ok,
[ac_save_cc="$CC"