Permalink
Browse files

remove msvc "add virus" compile flag

  • Loading branch information...
jacob1 committed Mar 18, 2018
1 parent f76d10d commit 491d61a9cab2b1d738aabc2fbd6c096b0796ccac
Showing with 2 additions and 1 deletion.
  1. +2 −1 SConscript
@@ -468,7 +468,8 @@ if GetOption('debugging'):
env.Append(CPPDEFINES=['DEBUG'])
elif GetOption('release'):
if msvc:
env.Append(CCFLAGS=['/O2', '/Oy-', '/fp:fast', '/GL'])
# Certain options (like /GL and /GS) cause TPT to be flagged as a virus. Don't include them
env.Append(CCFLAGS=['/O2', '/Oy-', '/fp:fast'])
if GetOption('static'):
env.Append(CCFLAGS=['/MT'])
else:

0 comments on commit 491d61a

Please sign in to comment.