Skip to content

Commit

Permalink
remove msvc "add virus" compile flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Mar 18, 2018
1 parent f76d10d commit 491d61a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion SConscript
Expand Up @@ -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:
Expand Down

0 comments on commit 491d61a

Please sign in to comment.