summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-04 13:02:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-03-01 22:47:07 +0100
commit2f7f6e7dc580bf313b7f70143241bbd14d633cf7 (patch)
tree8f19637c3758ef1dcd4bfa5735fd4b53cd17cb04
parent00b01a219f694ab8237e6e7be5776ff375a5c9d4 (diff)
cmake/msvc: actually disable it
Incremental LTO broke Wii again.
-rw-r--r--cmake/msvc.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/msvc.cmake b/cmake/msvc.cmake
index ee43968f..12470eef 100644
--- a/cmake/msvc.cmake
+++ b/cmake/msvc.cmake
@@ -154,11 +154,11 @@ set(_CXXFLAGS_RELEASE "${_CFLAGS_RELEASE}")
set(_CXXFLAGS_DEBUG "${_CFLAGS_DEBUG}")
set(_LDFLAGS "-WX")
-set(_LDFLAGS_RELEASE "-OPT:REF,ICF=10 -LTCG:INCREMENTAL -DEBUG:FULL")
+set(_LDFLAGS_RELEASE "-OPT:REF,ICF=10 -LTCG -DEBUG:FULL")
set(_LDFLAGS_DEBUG "-DEBUG:FULL")
set(_LDFLAGS_STATIC "-WX")
-set(_LDFLAGS_STATIC_RELEASE "-LTCG:INCREMENTAL")
+set(_LDFLAGS_STATIC_RELEASE "-LTCG")
set(_LDFLAGS_STATIC_DEBUG "")
set(CMAKE_BUILD_TYPE_INIT "RELEASE" CACHE INTERNAL "")