remove msvc "add virus" compile flag
This commit is contained in:
parent
f76d10df4d
commit
491d61a9ca
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user