This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Additional floating point strictness is needed to get Intel cc to pass
authorSteve Peters <steve@fisharerojo.org>
Tue, 15 Aug 2006 18:57:11 +0000 (18:57 +0000)
committerSteve Peters <steve@fisharerojo.org>
Tue, 15 Aug 2006 18:57:11 +0000 (18:57 +0000)
its tests.

p4raw-id: //depot/perl@28728

hints/linux.sh

index f5c400b..7fc151d 100644 (file)
@@ -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' ;;