SHA256
1
0
forked from pool/tpm2.0-tools
tpm2.0-tools/tpm2.0-tools-fix-hardening.patch
Matthias Gerstner 14f68543f3 - update to version 3.0.3:
- various changes in tool options
  - man pages are now in section 1 (formerly in section 8)
  - tools are now installed in /usr/bin (formerly /usr/sbin)

OBS-URL: https://build.opensuse.org/package/show/security/tpm2.0-tools?expand=0&rev=32
2018-02-22 11:21:56 +00:00

16 lines
547 B
Diff

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