aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-29 16:09:31 +0000
committerYang Tse <yangsita@gmail.com>2008-09-29 16:09:31 +0000
commitcda9d7e5794787c83018c721f719e9d8f7987037 (patch)
tree7409db555615de24ec6f40af442543b395df9d21
parentc27d2d4b93624b2e7d291b77667ff2d98da3cea7 (diff)
Temporary icc adjustment:
Disable floating point optimizations
-rw-r--r--ares/configure.ac2
-rw-r--r--configure.ac2
2 files changed, 4 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 97d830434..db9576a12 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -251,6 +251,8 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
CPPFLAGS="$CPPFLAGS -wd 981,1469"
dnl Disable use of ANSI C aliasing rules in optimizations
CFLAGS="$CFLAGS -no-ansi-alias"
+ dnl Disable floating point optimizations
+ CFLAGS="$CFLAGS -fp-model precise -mp"
else
AC_MSG_RESULT([no])
fi
diff --git a/configure.ac b/configure.ac
index d16fc5ca1..ca58f9058 100644
--- a/configure.ac
+++ b/configure.ac
@@ -325,6 +325,8 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then
CPPFLAGS="$CPPFLAGS -wd 981,1469"
dnl Disable use of ANSI C aliasing rules in optimizations
CFLAGS="$CFLAGS -no-ansi-alias"
+ dnl Disable floating point optimizations
+ CFLAGS="$CFLAGS -fp-model precise -mp"
else
AC_MSG_RESULT([no])
fi