From 3d52f24d8b0bf1a3da8a4d11c7465f2b87333404 Mon Sep 17 00:00:00 2001 From: Amine Khaldi Date: Sat, 7 Nov 2015 09:03:26 +0000 Subject: [PATCH] [FREELDR] We don't need the hotpatch flag in MSVC builds for this module. CORE-10477 svn path=/trunk/; revision=69825 --- reactos/boot/freeldr/freeldr/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/boot/freeldr/freeldr/CMakeLists.txt b/reactos/boot/freeldr/freeldr/CMakeLists.txt index ab7d6da574d..5dfa2951124 100644 --- a/reactos/boot/freeldr/freeldr/CMakeLists.txt +++ b/reactos/boot/freeldr/freeldr/CMakeLists.txt @@ -5,6 +5,11 @@ if(SEPARATE_DBG) set(CMAKE_LDR_PE_HELPER_STANDARD_LIBRARIES "-lgcc" CACHE STRING "Standard C Libraries") endif() +if(MSVC) + # We don't need it here + replace_compile_flags("/hotpatch" " ") +endif() + spec2def(freeldr.sys freeldr.spec) if(ARCH STREQUAL "i386")