Intel compiler on Linux needs "-fp-mode strict" instead of "-mp".

This commit is contained in:
Sylvain Pion 2008-05-21 18:43:38 +00:00
parent 572c2e9301
commit 3d64d5dca4
1 changed files with 3 additions and 3 deletions

View File

@ -976,9 +976,9 @@ set_compiler_flags()
;;
*Linux*icc*|*Linux*icpc*)
#### settings for icc on linux
# -mp is required for correct enough floating point operations
# necessary for interval arithmetic.
ADDITIONAL_CXXFLAGS="-mp"
# -fp-mode strict is required for correct enough floating point operations
# necessary for interval arithmetic (used to be -mp for some older versions).
ADDITIONAL_CXXFLAGS="-fp-mode strict"
RUNTIME_LINKER_FLAG='-Wl,-R'
PRINT_STACKTRACE_PROGRAM="idb"
;;