ibmswtpm2/makefile.patch
Michal Suchanek 7051adbd68 Accepting request 1005719 from home:dirkmueller:Factory
- update to 1682:
  * tpm: Fix cast in BnSetBit.
  * tpm2: Fix size check in CryptSecretDecrypt
  * tpm: Port Windows code for OpenSSL 3.0
  * tpm: Update to openssl 3.0.2
  * tpm: Add command and handle tracing
  * tpm: Update for openssl 3.0.1
  * tpm: Add ECC encrypt and decrypt commands
  * Fix compilation on RISC-V
  * PlatformSvc: return error on control socket failure
  * main: set a return code if StartTcpServer fails
  * tpm: Add all updates to TPM specification 164.
- drop ibmswtpm2-fix-ppc32.patch (upstream) 
- makefile.patch: refresh

OBS-URL: https://build.opensuse.org/request/show/1005719
OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=26
2022-10-04 14:32:52 +00:00

29 lines
802 B
Diff

Index: ibmswtpm2-1682/src/makefile
===================================================================
--- ibmswtpm2-1682.orig/src/makefile
+++ ibmswtpm2-1682/src/makefile
@@ -40,11 +40,11 @@
CC = /usr/bin/gcc
-CCFLAGS = -Wall \
+CCFLAGS += -fno-strict-aliasing -fno-aggressive-loop-optimizations -Wno-unused-result \
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
- -Werror -Wsign-compare \
+ -Werror -Wsign-compare -Wno-unused-value -Wno-aggressive-loop-optimizations \
-Wno-deprecated-declarations \
- -c -ggdb -O0 \
+ -c -ggdb \
-DTPM_POSIX \
-D_POSIX_ \
-DTPM_NUVOTON
@@ -55,7 +55,7 @@ CCFLAGS = -Wall \
# --coverage \
# -fprofile-arcs -ftest-coverage
-LNFLAGS = -ggdb \
+LNFLAGS += -ggdb \
-lcrypto \
-lpthread \
-lrt \