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/nasm.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/nasm.py')
-rw-r--r-- | src/engine/SCons/Tool/nasm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/nasm.py b/src/engine/SCons/Tool/nasm.py index 6a2fc36..84075ba 100644 --- a/src/engine/SCons/Tool/nasm.py +++ b/src/engine/SCons/Tool/nasm.py @@ -37,6 +37,7 @@ import os.path import SCons.Defaults import SCons.Tool +import SCons.Util ASSuffixes = ['.s', '.asm', '.ASM'] ASPPSuffixes = ['.spp', '.SPP'] @@ -56,7 +57,7 @@ def generate(env): static_obj.add_action(suffix, SCons.Defaults.ASPPAction) env['AS'] = 'nasm' - env['ASFLAGS'] = '' + env['ASFLAGS'] = SCons.Util.CLVar('') env['ASCOM'] = '$AS $ASFLAGS -o $TARGET $SOURCES' env['ASPPCOM'] = '$CC $ASFLAGS $CPPFLAGS $_CPPDEFFLAGS $_CPPINCFLAGS -c -o $TARGET $SOURCES' |