mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-20 23:21:20 +02:00
remove msvc "add virus" compile flag
This commit is contained in:
@@ -468,7 +468,8 @@ if GetOption('debugging'):
|
|||||||
env.Append(CPPDEFINES=['DEBUG'])
|
env.Append(CPPDEFINES=['DEBUG'])
|
||||||
elif GetOption('release'):
|
elif GetOption('release'):
|
||||||
if msvc:
|
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'):
|
if GetOption('static'):
|
||||||
env.Append(CCFLAGS=['/MT'])
|
env.Append(CCFLAGS=['/MT'])
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user