remove msvc "add virus" compile flag

This commit is contained in:
jacob1 2018-03-18 10:37:10 -04:00
parent f76d10df4d
commit 491d61a9ca

View File

@ -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: