summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch
diff options
context:
space:
mode:
authorJens Rehsack <sno@netbsd.org>2020-09-11 09:34:08 +0200
committerArmin Kuster <akuster808@gmail.com>2020-09-12 08:55:28 -0700
commitb9c72cc8bc8445292af904a51f28c34d72bb509f (patch)
tree71facc3fd463132712d97285f06adabf57e93bf8 /meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch
parentcaf76696e8669ee48339c13f01042da9e52515ae (diff)
downloadmeta-security-b9c72cc8bc8445292af904a51f28c34d72bb509f.tar.gz
ibmswtpm2: update to 1637
Update ibmswtpm2 from 1628 to 1637. Build 1637 Includes: * Increase NV memory size to match PC Client RSA 3072 requirements * Add and fix ACT support * Update Visual Studio files to 2019. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch')
-rw-r--r--meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch b/meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch
deleted file mode 100644
index 2919e2e..0000000
--- a/meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch
+++ /dev/null
@@ -1,26 +0,0 @@
1Allow recipe to overide optimization.
2
3fixes:
4
5397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
6| | ^~~~~~~
7| cc1: all warnings being treated as errors
8
9
10Upstream-Status: OE specific
11
12Signed-off-by: Armin Kuster <akuster808@gmail.com>
13
14Index: src/makefile
15===================================================================
16--- src.orig/makefile
17+++ src/makefile
18@@ -43,7 +43,7 @@ CC = /usr/bin/gcc
19 CCFLAGS = -Wall \
20 -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
21 -Werror -Wsign-compare \
22- -c -ggdb -O0 \
23+ -c -ggdb -O \
24 -DTPM_POSIX \
25 -D_POSIX_ \
26 -DTPM_NUVOTON