aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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