1. Paweł Tomulik
  2. SCons

Source

SCons / test / AS / ASPPFLAGS.py

Diff from to

File test/AS/ASPPFLAGS.py

  • Ignore whitespace
 
 
 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