Skip to content
Snippets Groups Projects
Commit cda9d7e5 authored by Yang Tse's avatar Yang Tse
Browse files

Temporary icc adjustment:

  Disable floating point optimizations
parent c27d2d4b
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment