[svn:parrot] r39870 - trunk/config/auto

fperrad at svn.parrot.org fperrad at svn.parrot.org
Fri Jul 3 13:41:45 UTC 2009


Author: fperrad
Date: Fri Jul  3 13:41:44 2009
New Revision: 39870
URL: https://trac.parrot.org/parrot/changeset/39870

Log:
[config]
don't overload the variable 'sym_export' when already set by hints (mswin32 or cygwin)

see TT #805

Modified:
   trunk/config/auto/gcc.pm

Modified: trunk/config/auto/gcc.pm
==============================================================================
--- trunk/config/auto/gcc.pm	Fri Jul  3 05:18:07 2009	(r39869)
+++ trunk/config/auto/gcc.pm	Fri Jul  3 13:41:44 2009	(r39870)
@@ -88,7 +88,7 @@
     my $ccwarn = $conf->data->get('ccwarn');
 
     $conf->data->set( sym_export => '__attribute__ ((visibility("default")))' )
-        if $gccversion >= 4.0;
+        if $gccversion >= 4.0 && !$conf->data->get('sym_export');
 
     $conf->data->set(
         ccwarn              => "$ccwarn",


More information about the parrot-commits mailing list