diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-07-13 16:20:30 +0200 |
commit | 68f5f213bf0cbd0bd60a6849bf4379113ea06282 (patch) | |
tree | 7906520ed59fe4ef7c03de91d55f4f74b87e4072 /cmake/msvc.cmake | |
parent | db47f9fc711f9b0abeb8461042c40c70d5a71021 (diff) |
appease analyzer
Diffstat (limited to 'cmake/msvc.cmake')
-rw-r--r-- | cmake/msvc.cmake | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake index a4a1f5c6..0aad2ac8 100644 --- a/cmake/msvc.cmake +++ b/cmake/msvc.cmake @@ -51,7 +51,6 @@ if(CMAKE_PROJECT_NAME STREQUAL "opentrack") endforeach() set(cc "${cc} -GR-") - set(cc "${cc} -EHs-c-") set(CMAKE_RC_FLAGS "/nologo /DWIN32") endif() @@ -66,7 +65,7 @@ set(_CFLAGS_DEBUG "-GS -sdl -Gs -guard:cf") set(_CXXFLAGS_RELEASE "${cc}") set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}") -set(_LDFLAGS "-cgthreads:1 -DEBUG") +set(_LDFLAGS "-cgthreads:1 -DEBUG -machine:x86 -WX") #set(_ltcg "-LTCG") set(_ltcg "-LTCG:INCREMENTAL") @@ -74,7 +73,7 @@ set(_ltcg "-LTCG:INCREMENTAL") set(_LDFLAGS_RELEASE "-OPT:REF,ICF=4 ${_ltcg}") set(_LDFLAGS_DEBUG "") -set(_LDFLAGS_STATIC "-WX") +set(_LDFLAGS_STATIC "-machine:x86 -WX") set(_LDFLAGS_STATIC_RELEASE "${_ltcg}") set(_LDFLAGS_STATIC_DEBUG "") |