From cda9d7e5794787c83018c721f719e9d8f7987037 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Mon, 29 Sep 2008 16:09:31 +0000 Subject: [PATCH] Temporary icc adjustment: Disable floating point optimizations --- ares/configure.ac | 2 ++ configure.ac | 2 ++ 2 files changed, 4 insertions(+) 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