-rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -2633,6 +2633,10 @@ case "$toolchain" in add_cflags -fprofile-arcs -ftest-coverage add_ldflags -fprofile-arcs -ftest-coverage ;; + hardened) + add_cflags -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all + add_ldflags -Wl,-z,relro -Wl,-z,now + ;; ?*) die "Unknown toolchain $toolchain" ;; |