Change 28566 by [EMAIL PROTECTED] on 2006/07/13 15:46:11

        Keep Intel C++ from claiming that it is gcc.

Affected files ...

... //depot/perl/hints/linux.sh#59 edit

Differences ...

==== //depot/perl/hints/linux.sh#59 (text) ====
Index: perl/hints/linux.sh
--- perl/hints/linux.sh#58~28309~       2006-05-26 06:33:54.000000000 -0700
+++ perl/hints/linux.sh 2006-07-13 08:46:11.000000000 -0700
@@ -78,7 +78,8 @@
 *"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
-    ccflags="-we147 -mp1 $ccflags"
+    # The -no-gcc flag is needed otherwise, icc pretends (poorly) to be gcc
+    ccflags="-we147 -mp1 -no-gcc $ccflags"
     # If we're using ICC, we usually want the best performance
     case "$optimize" in
     '') optimize='-O3' ;;
End of Patch.

Reply via email to