Change 34815 by [EMAIL PROTECTED] on 2008/11/11 15:55:28

        Subject: [PATCH] Relocations errors with Intel CC 10 on 64 bits archs
        From: Vincent Pit <[EMAIL PROTECTED]>
        Date: Tue, 11 Nov 2008 15:58:07 +0100
        Message-ID: <[EMAIL PROTECTED]>

Affected files ...

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

Differences ...

==== //depot/perl/hints/linux.sh#68 (text) ====
Index: perl/hints/linux.sh
--- perl/hints/linux.sh#67~34162~       2008-07-29 09:15:17.000000000 -0700
+++ perl/hints/linux.sh 2008-11-11 07:55:28.000000000 -0800
@@ -91,6 +91,12 @@
     # 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 -mp -no-gcc $ccflags"
+    # Prevent relocation errors on 64bits arch
+    case "`uname -m`" in
+       *ia64*|*x86_64*)
+           cccdlflags='-fPIC'
+       ;;
+    esac
     # If we're using ICC, we usually want the best performance
     case "$optimize" in
     '') optimize='-O3' ;;
End of Patch.

Reply via email to