mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:13:04 +00:00
[CMAKE] Fix GCC -fstack-protector usage
This commit is contained in:
parent
a853102a7b
commit
c8d07514c8
15 changed files with 121 additions and 35 deletions
|
@ -18,6 +18,11 @@ add_subdirectory(user/winsrv)
|
|||
|
||||
spec2def(win32k.sys win32k.spec ADD_IMPORTLIB)
|
||||
|
||||
# embed RTC libs
|
||||
if (STACK_PROTECTOR)
|
||||
target_sources(libwin32k PRIVATE $<TARGET_OBJECTS:gcc_ssp_win32k>)
|
||||
endif()
|
||||
|
||||
include_directories(
|
||||
.
|
||||
include
|
||||
|
|
|
@ -3,6 +3,11 @@ include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
|
|||
add_definitions(-D_VIDEOPORT_)
|
||||
spec2def(videoprt.sys videoprt.spec ADD_IMPORTLIB)
|
||||
|
||||
# Embed RTC libs
|
||||
if (STACK_PROTECTOR)
|
||||
target_sources(libvideoprt PRIVATE $<TARGET_OBJECTS:gcc_ssp_videoprt>)
|
||||
endif()
|
||||
|
||||
list(APPEND SOURCE
|
||||
agp.c
|
||||
child.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue