Remove the /TP (compile as C++) msvc flag from projects that should be compiling as C.

This commit is contained in:
Ryan Stecker
2014-07-02 13:46:39 -05:00
parent e6f6e6df70
commit db98c98a1a
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 += [