Browse files

Fix errors when using --msvc (#509)

  • Loading branch information...
wolfy1339 authored and jacob1 committed Oct 7, 2017
1 parent 7847a3a commit b3ee23e45c12c909c86b16888c4b65940eb50fac
Showing with 1 addition and 0 deletions.
  1. +1 −0 SConscript
@@ -405,6 +405,7 @@ if platform == "Windows":
if msvc:
env.Append(CCFLAGS=['/Gm', '/Zi', '/EHsc', '/FS', '/GS']) #enable minimal rebuild, ?, enable exceptions, allow -j to work in debug builds, enable security check
env.Append(CPPDEFINES=['_SCL_SECURE_NO_WARNINGS']) #Disable warnings about 'std::print'
if GetOption('static'):
env.Append(LINKFLAGS=['/NODEFAULTLIB:msvcrt.lib', '/LTCG'])
elif not GetOption('debugging'):

0 comments on commit b3ee23e

Please sign in to comment.