summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-10-18 01:09:14 (GMT)
committerSteven Knight <knight@baldmt.com>2002-10-18 01:09:14 (GMT)
commit24f95ab2762edefba6fc7afd3a302c2d2d69c5e1 (patch)
treebc7cea9cfb1f13a66da2c59c652d170ee8d498ad /test
parentbd91e792df09aebec78f7972e17eab873dc71246 (diff)
downloadSCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.zip
SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.tar.gz
SCons-24f95ab2762edefba6fc7afd3a302c2d2d69c5e1.tar.bz2
Win32 test portability.
Diffstat (limited to 'test')
-rw-r--r--test/Repository/variants.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Repository/variants.py b/test/Repository/variants.py
index d91235f..81aa596 100644
--- a/test/Repository/variants.py
+++ b/test/Repository/variants.py
@@ -44,11 +44,12 @@ opts = "-Y " + test.workpath('repository')
test.write(['repository', 'SConstruct'], r"""
OS = ARGUMENTS['OS']
build_os = "#build/" + OS
+default_ccflags = Environment()['CCFLAGS']
ccflags = {
'foo' : '-DFOO',
'bar' : '-DBAR',
}
-env = Environment(CCFLAGS = ccflags[OS],
+env = Environment(CCFLAGS = default_ccflags + ' ' + ccflags[OS],
CPPPATH = build_os)
BuildDir(build_os, 'src')
SConscript(build_os + '/SConscript', "env")