Skip to content

Commit

Permalink
Move -fstack-clash-protection to GCC-only flags
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed May 2, 2022
1 parent 87d46d8 commit 26d31db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options_linux.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
target_compile_options(common_options
INTERFACE
-fstack-protector-all
-fstack-clash-protection
-fPIC
$<IF:$<CONFIG:Debug>,,-fno-strict-aliasing>
-pipe
Expand All @@ -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()
Expand Down

0 comments on commit 26d31db

Please sign in to comment.