Author: tfaber
Date: Fri Sep 4 15:33:12 2015
New Revision: 68999
URL:
http://svn.reactos.org/svn/reactos?rev=68999&view=rev
Log:
[BOOTMGFW]
- Fix build with RUNTIME_CHECKS (and hopefully STACK_PROTECTOR)
Modified:
trunk/reactos/boot/environ/CMakeLists.txt
Modified: trunk/reactos/boot/environ/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/environ/CMakeLists.tx…
==============================================================================
--- trunk/reactos/boot/environ/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/boot/environ/CMakeLists.txt [iso-8859-1] Fri Sep 4 15:33:12 2015
@@ -61,6 +61,12 @@
target_link_libraries(bootmgfw bootmgr_common cportlib cmlib rtl libcntpr)
+if(STACK_PROTECTOR)
+ target_link_libraries(bootmgfw gcc_ssp)
+elseif(RUNTIME_CHECKS)
+ target_link_libraries(bootmgfw runtmchk)
+endif()
+
add_dependencies(bootmgfw asm bugcodes)
add_cd_file(TARGET bootmgfw FILE ${_bootmgfw_output_file} DESTINATION loader NO_CAB FOR
bootcd regtest)