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

优化 hardening

This commit is contained in:
源文雨
2022-10-16 13:53:48 +08:00
parent 23d0b97b38
commit 52ff3ef38e

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()