summaryrefslogtreecommitdiffstats
path: root/test/AS/ASPPFLAGS.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/AS/ASPPFLAGS.py')
-rw-r--r--test/AS/ASPPFLAGS.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/AS/ASPPFLAGS.py b/test/AS/ASPPFLAGS.py
index f8e70a9..731413e 100644
--- a/test/AS/ASPPFLAGS.py
+++ b/test/AS/ASPPFLAGS.py
@@ -35,10 +35,12 @@ _exe = TestSCons._exe
if sys.platform == 'win32':
+ import SCons.Tool.MSCommon as msc
o = ' -x'
-
o_c = ' -x'
+ if not msc.msvc_exists():
+ o_c = ' -x -c'
test.write('mylink.py', r"""
import sys