forked from pool/ibmswtpm2
Marcus Meissner
f182629d0c
TPM 2.0 emulator (for testing ibmtss during build) OBS-URL: https://build.opensuse.org/request/show/453674 OBS-URL: https://build.opensuse.org/package/show/security/ibmswtpm2?expand=0&rev=1
24 lines
648 B
Diff
24 lines
648 B
Diff
--- ibmtpm832/src/makefile~ 2017-01-30 16:31:06.903692292 +0100
|
|
+++ ibmtpm832/src/makefile 2017-01-30 16:31:17.391841670 +0100
|
|
@@ -41,16 +41,16 @@
|
|
|
|
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 \
|
|
- -c -ggdb -O0 \
|
|
+ -c -ggdb -O \
|
|
-DTPM_POSIX \
|
|
-D_POSIX_ \
|
|
-I../utils \
|
|
-I.
|
|
|
|
-LNFLAGS = -ggdb \
|
|
+LNFLAGS += -ggdb \
|
|
-DTPM_POSIX \
|
|
-lcrypto \
|
|
-lpthread \
|