mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- disable runtime buffer security check in release build.
This has a minor but measurable effect on performance because it gets inserted into every function which uses a local stack space structure.
This commit is contained in:
parent
96ec6b1dc6
commit
7d40edd6ac
1 changed files with 2 additions and 2 deletions
|
@ -203,9 +203,9 @@ if( MSVC )
|
||||||
# Avoid CRT DLL dependancies in release builds, optionally generate assembly output for checking crash locations.
|
# Avoid CRT DLL dependancies in release builds, optionally generate assembly output for checking crash locations.
|
||||||
option( ZDOOM_GENERATE_ASM "Generate assembly output." OFF )
|
option( ZDOOM_GENERATE_ASM "Generate assembly output." OFF )
|
||||||
if( ZDOOM_GENERATE_ASM )
|
if( ZDOOM_GENERATE_ASM )
|
||||||
set( REL_C_FLAGS "/MT /Oy /Oi /FAcs" )
|
set( REL_C_FLAGS "/MT /Oy /Oi /FAcs /GS-" )
|
||||||
else()
|
else()
|
||||||
set( REL_C_FLAGS "/MT /Oy /Oi" )
|
set( REL_C_FLAGS "/MT /Oy /Oi /GS-" )
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue