File makefile.patch of Package ibmtss

--- ibmtss-1045/utils/makefile	2017-07-17 21:52:31.000000000 +0200
+++ ibmtss-1045/utils/makefile	2017-11-08 15:45:41.458998485 +0100
@@ -44,7 +44,7 @@
 
 # compile - common flags for TSS library and applications
 
-CCFLAGS += 	-DTPM_POSIX
+CCFLAGS += 	-DTPM_POSIX -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\""
 
 # example of pointing to a locally built openssl 1.1
 # CCFLAGS += 	-I/home/kgold/openssl-1.1.0c/include
--- ibmtss-996/utils/makefile-common	2017-04-19 21:22:21.000000000 +0200
+++ ibmtss-996/utils/makefile-common	2017-06-08 15:47:04.771866677 +0200
@@ -44,7 +44,7 @@
 CCFLAGS += 				\
 	-Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
 	-Wformat=2 -Wold-style-definition \
-	-ggdb -O0 -c
+	-ggdb -fno-strict-aliasing -c
 
 # to compile with optimizations on (warning will result)
 #	-O3 -c
openSUSE Build Service is sponsored by