File makefile.patch of Package ibmtss
Index: ibmtss-755/utils/makefile
===================================================================
--- ibmtss-755.orig/utils/makefile
+++ ibmtss-755/utils/makefile
@@ -44,9 +44,8 @@ CC = /usr/bin/gcc
# 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
Index: ibmtss-755/utils/makefile-common
===================================================================
--- ibmtss-755.orig/utils/makefile-common
+++ ibmtss-755/utils/makefile-common
@@ -43,7 +43,7 @@
CCFLAGS += \
-Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
- -ggdb -O0 -c \
+ -ggdb -c \
-DTPM_ENCRYPT_SESSIONS_DEFAULT="\"0\""