Index: tpm2-tools-3.0.3/configure.ac =================================================================== --- tpm2-tools-3.0.3.orig/configure.ac +++ tpm2-tools-3.0.3/configure.ac @@ -130,10 +130,8 @@ AS_IF([test x"$hardening" != x"no"], [ 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([-U_FORTIFY_SOURCE]) add_hardened_define_flag([-D_FORTIFY_SOURCE=2]) add_hardened_c_flag([-fPIC])