blob: 2919e2e5413a22e12d075598c915ed95a23e87e2 [file] [log] [blame]
Andrew Geissler1fe918a2020-05-15 14:16:47 -05001Allow 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