Move -fstack-clash-protection to GCC-only flags
This commit is contained in:
parent
87d46d8111
commit
26d31dbdef
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue