2018-02-22 12:21:56 +01:00
|
|
|
Index: tpm2-tools-3.0.3/configure.ac
|
2017-08-21 18:23:48 +02:00
|
|
|
===================================================================
|
2018-02-22 12:21:56 +01:00
|
|
|
--- 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"], [
|
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([-U_FORTIFY_SOURCE])
|
2018-02-22 12:21:56 +01:00
|
|
|
add_hardened_define_flag([-D_FORTIFY_SOURCE=2])
|
2017-06-02 09:17:27 +02:00
|
|
|
|
|
|
|
add_hardened_c_flag([-fPIC])
|