summaryrefslogtreecommitdiffstats
path: root/meta-tpm/recipes-tpm2/ibmswtpm2/files/remove_optimization.patch
diff options
context:
space:
mode:
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