1
0
mirror of https://github.com/fumiama/base16384.git synced 2026-06-06 02:30:31 +08:00

优化 hardening

This commit is contained in:
源文雨
2022-10-16 13:55:20 +08:00
parent 1b6ba41562
commit 626a570fba

View File

@@ -22,7 +22,7 @@ if (MSVC)
# do nothing
else()
# add hardening
target_compile_options(base16384 INTERFACE -Wl,-z,relro,-z,now -Wdate-time)
target_compile_options(base16384 PUBLIC -Wl,-z,now -Wdate-time)
add_definitions(-D_FORTIFY_SOURCE=2)
endif()