From: Steve Peters Date: Tue, 15 Aug 2006 18:57:11 +0000 (+0000) Subject: Additional floating point strictness is needed to get Intel cc to pass X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=383f9357ddd20f0f467e21ca2ed7c8bc462aa3b6;p=p5sagit%2Fp5-mst-13.2.git Additional floating point strictness is needed to get Intel cc to pass its tests. p4raw-id: //depot/perl@28728 --- 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' ;;