[cig-commits] commit: Fixed a bug where CFLAGS was getting clobberred by

Mercurial hg at geodynamics.org
Tue Mar 23 16:42:21 PDT 2010


changeset:   144:1c52cd112590
parent:      142:1cb9d9e07ac2
user:        LukeHodkinson at localhost.localdomain
date:        Wed Jan 27 10:30:18 2010 +1100
files:       cc.py
description:
Fixed a bug where CFLAGS was getting clobberred by
a Tool command.  Will need to look in to why Tool erases
various environment flags.


diff -r 1cb9d9e07ac2 -r 1c52cd112590 cc.py
--- a/cc.py	Wed Dec 16 17:15:12 2009 +1100
+++ b/cc.py	Wed Jan 27 10:30:18 2010 +1100
@@ -2,7 +2,8 @@ import checks
 
 def apply_cc(env, cc):
     if cc in ['gcc']:
-        env.Tool(cc)
+        pass
+        #env.Tool(cc)
     elif cc == 'xlc':
         pass
 



More information about the CIG-COMMITS mailing list