diff options
author | Steven Knight <knight@baldmt.com> | 2004-02-26 05:56:51 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-02-26 05:56:51 (GMT) |
commit | dfa9ded59f8641221328e2da7a06698a1b367ef1 (patch) | |
tree | cc4a700d072dff78736d245d7c664be7ad2d32f0 /src/engine/SCons/Tool/hpc++.py | |
parent | b0656def14f9b2f7feff88301420c1dee99ac670 (diff) | |
download | SCons-dfa9ded59f8641221328e2da7a06698a1b367ef1.zip SCons-dfa9ded59f8641221328e2da7a06698a1b367ef1.tar.gz SCons-dfa9ded59f8641221328e2da7a06698a1b367ef1.tar.bz2 |
Initialize *FLAGS variables with objects that can add flags either as strings or lists.
Diffstat (limited to 'src/engine/SCons/Tool/hpc++.py')
-rw-r--r-- | src/engine/SCons/Tool/hpc++.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/hpc++.py b/src/engine/SCons/Tool/hpc++.py index 4ed1ba0..a1b3e97 100644 --- a/src/engine/SCons/Tool/hpc++.py +++ b/src/engine/SCons/Tool/hpc++.py @@ -36,6 +36,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os.path import string +import SCons.Util + cplusplus = __import__('c++', globals(), locals(), []) acc = None @@ -66,9 +68,9 @@ def generate(env): env['CXXVERSION'] = string.split(line)[-1] if env['PLATFORM'] == 'cygwin': - env['SHCXXFLAGS'] = '$CXXFLAGS' + env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS') else: - env['SHCXXFLAGS'] = '$CXXFLAGS +Z' + env['SHCXXFLAGS'] = SCons.Util.CLVar('$CXXFLAGS +Z') def exists(env): return acc |