Author: petdance
Date: Fri Jul  6 11:43:48 2007
New Revision: 19648

Modified:
   trunk/config/init/hints/linux.pm

Log:
Set some ICC links flags

Modified: trunk/config/init/hints/linux.pm
==============================================================================
--- trunk/config/init/hints/linux.pm    (original)
+++ trunk/config/init/hints/linux.pm    Fri Jul  6 11:43:48 2007
@@ -38,12 +38,9 @@
 
         # suppress sprintf warnings that don't apply
         $cflags .= ' -wd269';
-        if ( $ld_share_flags !~ /-fPIC/ ) {
-            $ld_share_flags .= ' -fPIC';
-        }
-        if ( $cc_shared !~ /-fPIC/ ) {
-            $cc_shared .= ' -fPIC';
-        }
+
+        $ld_share_flags = ' -shared -g -pipe -fexceptions -fPIC';
+        $cc_shared .= ' -fPIC';
     }
     elsif ( $cc =~ /suncc/ ) {
         $link = 'sunCC';

Reply via email to