Merge pull request #60 from VoiDeD/ambuild-remove-tp-flag

Remove the /TP (compile as C++) msvc flag from projects that should be compiling as C.
This commit is contained in:
David Anderson
2014-07-03 09:24:51 -07:00
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -17,6 +17,7 @@ if compiler.cc.behavior == 'gcc':
elif compiler.cc.behavior == 'msvc':
compiler.linkflags.remove('/SUBSYSTEM:WINDOWS')
compiler.linkflags.append('/SUBSYSTEM:CONSOLE')
compiler.cxxflags.remove('/TP')
if builder.target_platform == 'linux':
compiler.defines += [