Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f89271c

Browse files
committedJan 27, 2024
fixup! cmake: Add HARDENING option
1 parent d5752a1 commit f89271c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ if(HARDENING)
317317

318318
try_append_cxx_flags("-Wstack-protector" TARGET hardening_interface)
319319
try_append_cxx_flags("-fstack-protector-all" TARGET hardening_interface)
320+
try_append_linker_flag("-fstack-protector-all" TARGET hardening_interface)
320321
try_append_cxx_flags("-fcf-protection=full" TARGET hardening_interface)
321322

322323
if(MINGW)

0 commit comments

Comments
 (0)
Please sign in to comment.