https://git.reactos.org/?p=reactos.git;a=commitdiff;h=237110604b52fa45e1005…
commit 237110604b52fa45e10058b074770471081843be
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sun Feb 10 16:46:23 2019 +0100
Commit: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Feb 10 16:46:23 2019 +0100
[CMAKE] msvc.cmake: Remove 2 now redundant '/GF' (#1239)
Addendum to 5e673f3.
CORE-14373
---
sdk/cmake/msvc.cmake | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/cmake/msvc.cmake b/sdk/cmake/msvc.cmake
index 4d76d91437..43fbd0dfbd 100644
--- a/sdk/cmake/msvc.cmake
+++ b/sdk/cmake/msvc.cmake
@@ -4,7 +4,7 @@ if(CMAKE_BUILD_TYPE STREQUAL "Debug")
# no optimization
add_compile_flags("/Ob0 /Od")
elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
- add_compile_flags("/Ox /Ob2 /Ot /Oy /GT /GF")
+ add_compile_flags("/Ox /Ob2 /Ot /Oy /GT")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /OPT:REF /OPT:ICF")
elseif(OPTIMIZE STREQUAL "1")
add_compile_flags("/O1")
@@ -15,7 +15,7 @@ elseif(OPTIMIZE STREQUAL "3")
elseif(OPTIMIZE STREQUAL "4")
add_compile_flags("/Os /Ox /GS-")
elseif(OPTIMIZE STREQUAL "5")
- add_compile_flags("/GF /Gy /Ob2 /Os /Ox /GS-")
+ add_compile_flags("/Gy /Ob2 /Os /Ox /GS-")
endif()
# Always use string pooling: this helps reducing the binaries size since a lot