summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2006-03-22 15:59:07 +0000
committerSteve Peters <steve@fisharerojo.org>2006-03-22 15:59:07 +0000
commit3d7ef91af9d0b2a0a87bf8f4d8f69d113e174eae (patch)
tree41a54ac5e4e10b6088e61b1be30ab1edcb3604ae /hints/linux.sh
parent9bf76a6a2fc16ab628a46452e34352d3e3d71674 (diff)
downloadperl-3d7ef91af9d0b2a0a87bf8f4d8f69d113e174eae.tar.gz
Fix some test failures in t/op/cmp.t when compiling with the Intel
C++ Compiler on Linux. p4raw-id: //depot/perl@27568
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index b2bcf847b1..74120491eb 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -77,7 +77,8 @@ 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
- ccflags="-we147 $ccflags"
+ # The -mp1 flag is needed to pass cmp related tests
+ ccflags="-we147 -mp1 $ccflags"
# If we're using ICC, we usually want the best performance
case "$optimize" in
'') optimize='-O3' ;;