From 9c35e7b817250f858966c114a427997fd877ca15 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Fri, 4 Sep 2015 15:33:12 +0000 Subject: [PATCH] [BOOTMGFW] - Fix build with RUNTIME_CHECKS (and hopefully STACK_PROTECTOR) svn path=/trunk/; revision=68999 --- reactos/boot/environ/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reactos/boot/environ/CMakeLists.txt b/reactos/boot/environ/CMakeLists.txt index 81409ed3098..e00f1f826f0 100644 --- a/reactos/boot/environ/CMakeLists.txt +++ b/reactos/boot/environ/CMakeLists.txt @@ -61,6 +61,12 @@ set_entrypoint(bootmgfw EfiEntry) 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) -- 2.17.1