ibmtss/makefile.patch

26 lines
761 B
Diff

--- ibmtss713/utils/makefile-common~ 2016-08-09 22:28:08.000000000 +0200
+++ ibmtss713/utils/makefile-common 2017-01-30 16:36:53.844633306 +0100
@@ -43,7 +43,7 @@
CCFLAGS += \
-Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
- -ggdb -O0 -c \
+ -ggdb -fno-strict-aliasing -c \
-DTPM_BITFIELD_LE \
-DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\""
--- ibmtss713/utils/makefile~ 2016-08-09 22:28:08.000000000 +0200
+++ ibmtss713/utils/makefile 2017-01-30 16:46:22.512727982 +0100
@@ -44,9 +44,8 @@
# compile - common flags for TSS library and applications
-CCFLAGS = -DTPM_POSIX
-
-# -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\""
+CCFLAGS += -DTPM_POSIX \
+ -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\""
# compile - for TSS library