summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-08-15 18:57:11 +0000
committerSteve Peters <steve@fisharerojo.org>2006-08-15 18:57:11 +0000
commit383f9357ddd20f0f467e21ca2ed7c8bc462aa3b6 (patch)
tree07a23c474a939d14c2b1d55301e4fcada8193931
parent27e0a6173cfa04e70f8057a8b3a0ceb668a33dbc (diff)
downloadperl-383f9357ddd20f0f467e21ca2ed7c8bc462aa3b6.tar.gz
Additional floating point strictness is needed to get Intel cc to pass
its tests. p4raw-id: //depot/perl@28728
-rw-r--r--hints/linux.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index f5c400b065..7fc151d92e 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -77,9 +77,9 @@ esac
case "`${cc:-cc} -V 2>&1`" in
*"Intel(R) C++ Compiler"*|*"Intel(R) C Compiler"*)
# This is needed for Configure's prototype checks to work correctly
- # The -mp1 flag is needed to pass cmp related tests
+ # The -mp flag is needed to pass various floating point related tests
# The -no-gcc flag is needed otherwise, icc pretends (poorly) to be gcc
- ccflags="-we147 -mp1 -no-gcc $ccflags"
+ ccflags="-we147 -mp -no-gcc $ccflags"
# If we're using ICC, we usually want the best performance
case "$optimize" in
'') optimize='-O3' ;;