Author: akhaldi
Date: Sat Nov 7 09:03:26 2015
New Revision: 69825
URL:
http://svn.reactos.org/svn/reactos?rev=69825&view=rev
Log:
[FREELDR] We don't need the hotpatch flag in MSVC builds for this module. CORE-10477
Modified:
trunk/reactos/boot/freeldr/freeldr/CMakeLists.txt
Modified: trunk/reactos/boot/freeldr/freeldr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/CMake…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/CMakeLists.txt [iso-8859-1] Sat Nov 7 09:03:26
2015
@@ -3,6 +3,11 @@
# FIXME:
http://sourceware.org/bugzilla/show_bug.cgi?id=11822
set(CMAKE_LDR_PE_HELPER_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER>
<CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
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)