[FREELDR] We don't need the hotpatch flag in MSVC builds for this module. CORE-10477
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 7 Nov 2015 09:03:26 +0000 (09:03 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 7 Nov 2015 09:03:26 +0000 (09:03 +0000)
svn path=/trunk/; revision=69825

reactos/boot/freeldr/freeldr/CMakeLists.txt

index ab7d6da..5dfa295 100644 (file)
@@ -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")