mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
[CMAKE]
- link keyboard layout modules to gcc_ssp if the stack protector is enabled. svn path=/trunk/; revision=64861
This commit is contained in:
parent
64057f44f9
commit
a336377ef4
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ foreach(_keyboard_layout ${_keyboard_layouts})
|
|||
add_target_link_flags(${_keyboard_layout} "-Wl,-T,${CMAKE_SOURCE_DIR}/kbdlayout.lds")
|
||||
endif()
|
||||
|
||||
if (STACK_PROTECTOR)
|
||||
target_link_libraries(${_keyboard_layout} gcc_ssp)
|
||||
endif()
|
||||
|
||||
if(RUNTIME_CHECKS)
|
||||
target_link_libraries(${_keyboard_layout} runtmchk)
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue