From 383f9357ddd20f0f467e21ca2ed7c8bc462aa3b6 Mon Sep 17 00:00:00 2001 From: Steve Peters Date: Tue, 15 Aug 2006 18:57:11 +0000 Subject: [PATCH] Additional floating point strictness is needed to get Intel cc to pass its tests. p4raw-id: //depot/perl@28728 --- hints/linux.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hints/linux.sh b/hints/linux.sh index f5c400b..7fc151d 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' ;; -- 2.7.4