[CMAKE] Fix GCC -fstack-protector usage

This commit is contained in:
Jérôme Gardou 2020-12-31 17:56:39 +01:00
parent a853102a7b
commit c8d07514c8
15 changed files with 121 additions and 35 deletions

View file

@ -1,6 +1,11 @@
spec2def(scsiport.sys scsiport.spec ADD_IMPORTLIB)
# Embed RTC libs
if (STACK_PROTECTOR)
target_sources(libscsiport PRIVATE $<TARGET_OBJECTS:gcc_ssp_scsiport>)
endif()
list(APPEND SOURCE
fdo.c
ioctl.c