diff options
author | Steven Knight <knight@baldmt.com> | 2003-10-30 06:10:11 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-10-30 06:10:11 (GMT) |
commit | 14eb6b4ad61ad57ac3a619a49277ecb3e639f101 (patch) | |
tree | 28da3db39efce5ffaff9d105379ae224cd46ad5d /src/engine/SCons/Tool/sgicc.py | |
parent | 64c0acf336168c457512863a0428630b084cc47e (diff) | |
download | SCons-14eb6b4ad61ad57ac3a619a49277ecb3e639f101.zip SCons-14eb6b4ad61ad57ac3a619a49277ecb3e639f101.tar.gz SCons-14eb6b4ad61ad57ac3a619a49277ecb3e639f101.tar.bz2 |
Update the tool specifications for the SGI MIPSpro tools.
Diffstat (limited to 'src/engine/SCons/Tool/sgicc.py')
-rw-r--r-- | src/engine/SCons/Tool/sgicc.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/engine/SCons/Tool/sgicc.py b/src/engine/SCons/Tool/sgicc.py index cc285e7..da2c26d 100644 --- a/src/engine/SCons/Tool/sgicc.py +++ b/src/engine/SCons/Tool/sgicc.py @@ -1,6 +1,6 @@ """SCons.Tool.sgicc -Tool-specific initialization for MIPSPro CC and cc. +Tool-specific initialization for MIPSPro cc on SGI. There normally shouldn't be any need to import this module directly. It will usually be imported through the generic SCons.Tool.Tool() @@ -38,11 +38,10 @@ import cc def generate(env): """Add Builders and construction variables for gcc to an Environment.""" cc.generate(env) - + env['CXX'] = 'CC' - env['CXXFLAGS'] = ['$CCFLAGS', '-LANG:std'] env['SHOBJSUFFIX'] = '.o' env['STATIC_AND_SHARED_OBJECTS_ARE_THE_SAME'] = 1 def exists(env): - return env.Detect('CC') + return env.Detect('cc') |