From 491d61a9cab2b1d738aabc2fbd6c096b0796ccac Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 18 Mar 2018 10:37:10 -0400 Subject: [PATCH] remove msvc "add virus" compile flag --- SConscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConscript b/SConscript index 223365675..03e93414b 100644 --- a/SConscript +++ b/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: