2017-08-21 18:23:48 +02:00
|
|
|
Index: tpm2-tools-2.1.0/configure.ac
|
|
|
|
===================================================================
|
|
|
|
--- tpm2-tools-2.1.0.orig/configure.ac
|
|
|
|
+++ tpm2-tools-2.1.0/configure.ac
|
|
|
|
@@ -121,11 +121,9 @@ AS_IF([test x"$hardening" != x"no"], [
|
2017-06-02 09:17:27 +02:00
|
|
|
|
|
|
|
add_hardened_c_flag([-Wformat])
|
|
|
|
add_hardened_c_flag([-Wformat-security])
|
|
|
|
- add_hardened_c_flag([-Wstack-protector])
|
|
|
|
add_hardened_c_flag([-fstack-protector-all])
|
|
|
|
|
|
|
|
add_hardened_define_flag([-D_FORTIFY_SOURCE=2])
|
|
|
|
- add_hardened_define_flag([-U_FORTIFY_SOURCE])
|
|
|
|
|
|
|
|
add_hardened_c_flag([-fPIC])
|
|
|
|
add_hardened_ld_flag([[-shared]])
|