summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-11-14 12:49:16 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-11-14 12:51:18 +0100
commit9795d44f82f7b78d827dc6ce56d63c4c4ad86514 (patch)
tree26c1a15770ad0d8bf3eb09491ddf9d0c9af9553d
parent979d1d3cb15f85679ccf5757faf0f1762a096e29 (diff)
cmake/msvc: don't hardcode -machine:x86
-rw-r--r--cmake/msvc.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index 1a606989..edf0de63 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -68,7 +68,7 @@ set(_CFLAGS_DEBUG "-GS -sdl -Gs -guard:cf")
set(_CXXFLAGS_RELEASE "${cc}")
set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}")
-set(_LDFLAGS "-cgthreads:1 -DEBUG -machine:x86")
+set(_LDFLAGS "-cgthreads:1 -DEBUG")
#set(_ltcg "-LTCG")
set(_ltcg "-LTCG:INCREMENTAL")
@@ -76,7 +76,7 @@ set(_ltcg "-LTCG:INCREMENTAL")
set(_LDFLAGS_RELEASE "-OPT:REF,ICF=4 ${_ltcg}")
set(_LDFLAGS_DEBUG "")
-set(_LDFLAGS_STATIC "-machine:x86")
+set(_LDFLAGS_STATIC "")
set(_LDFLAGS_STATIC_RELEASE "${_ltcg}")
set(_LDFLAGS_STATIC_DEBUG "")