1
0
Fork 0

Move -fstack-clash-protection to GCC-only flags

This commit is contained in:
Ilya Fedin 2022-04-26 02:41:13 +04:00 committed by John Preston
parent 87d46d8111
commit 26d31dbdef

View file

@ -7,7 +7,6 @@
target_compile_options(common_options
INTERFACE
-fstack-protector-all
-fstack-clash-protection
-fPIC
$<IF:$<CONFIG:Debug>,,-fno-strict-aliasing>
-pipe
@ -34,6 +33,7 @@ INTERFACE
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
target_compile_options(common_options
INTERFACE
-fstack-clash-protection
-Wno-maybe-uninitialized
)
endif()