/[ascend]/trunk/SConstruct
ViewVC logotype

Diff of /trunk/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 705 by johnpye, Tue Jun 27 02:37:49 2006 UTC revision 709 by johnpye, Wed Jun 28 16:28:57 2006 UTC
# Line 927  if conf.CheckGcc(): Line 927  if conf.CheckGcc():
927          conf.env['HAVE_GCCVISIBILITY']=True;          conf.env['HAVE_GCCVISIBILITY']=True;
928          conf.env.Append(CCFLAGS=['-fvisibility=hidden'])          conf.env.Append(CCFLAGS=['-fvisibility=hidden'])
929          conf.env.Append(CPPDEFINES=['HAVE_GCCVISIBILITY'])          conf.env.Append(CPPDEFINES=['HAVE_GCCVISIBILITY'])
930        conf.env.Append(CCFLAGS=['-Wall'])
931    
932  # YACC  # YACC
933    
# Line 1246  SConsEnvironment.InstallShared = lambda Line 1247  SConsEnvironment.InstallShared = lambda
1247  # so that #include <modulename/headername.h> works across all modules...  # so that #include <modulename/headername.h> works across all modules...
1248  env.Append(CPPPATH=['#base/generic'])  env.Append(CPPPATH=['#base/generic'])
1249    
 if gcc_version4:  
     env.Append(CCFLAGS=['-fvisibility=hidden'])  
   
1250  if env['DEBUG']:  if env['DEBUG']:
1251      env.Append(CCFLAGS=['-g'])      env.Append(CCFLAGS=['-g'])
1252    

Legend:
Removed from v.705  
changed lines
  Added in v.709

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22