summaryrefslogtreecommitdiffhomepage
path: root/cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2023-01-04 13:02:47 +0100
committerStanislaw Halik <sthalik@misaki.pl>2023-01-23 14:16:32 +0100
commitc30f9afc6ef614167969d3d76395f3804c7889c4 (patch)
tree9915fdfe4bb61034595c7d64995d60cabe4631c5 /cmake
parent7bcd5d95b9675b5f3fd9d710fb1389df5817d0f0 (diff)
[MERGE] cmake/msvc: actually disable it
Incremental LTO broke Wii again.
Diffstat (limited to 'cmake')
-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 "")