dacc203
diff -ur tss2-1234/utils/makefile-common tss2-1234-new/utils/makefile-common
dacc203
--- tss2-1234/utils/makefile-common	2018-05-29 12:00:46.000000000 -0700
dacc203
+++ tss2-1234-new/utils/makefile-common	2018-10-02 15:10:20.783078580 -0700
dacc203
@@ -44,7 +44,7 @@
dacc203
 CCFLAGS += 				\
dacc203
 	-Wall -W -Wmissing-declarations -Wmissing-prototypes -Wnested-externs \
dacc203
 	-Wformat=2 -Wold-style-definition -Wno-self-assign \
dacc203
-	-ggdb -O0 -c
dacc203
+	-ggdb -c
dacc203
 
dacc203
 # to compile with optimizations on (warning will result)
dacc203
 #	-O3 -c
dacc203
diff -ur tss2-1234/utils/makefile.fedora tss2-1234-new/utils/makefile.fedora
dacc203
--- tss2-1234/utils/makefile.fedora	2018-05-15 10:07:20.000000000 -0700
dacc203
+++ tss2-1234-new/utils/makefile.fedora	2018-10-02 15:11:33.909083615 -0700
dacc203
@@ -71,7 +71,7 @@
dacc203
 
dacc203
 # compile - common flags for TSS library and applications
dacc203
 
dacc203
-CCFLAGS += 	-DTPM_POSIX
dacc203
+CCFLAGS += 	-DTPM_POSIX -DTPM_INTERFACE_TYPE_DEFAULT="\"dev\"" -DTPM_DEVICE_DEFAULT="\"/dev/tpmrm0\""
dacc203
 
dacc203
 # example of pointing to a locally built openssl 1.1
dacc203
 # CCFLAGS += 	-I/home/kgold/openssl-1.1.0c/include
dacc203
@@ -119,7 +119,7 @@
dacc203
 LNLFLAGS += -shared -Wl,-z,now
dacc203
 
dacc203
 # This is an alternative to using the bfd linker on Ubuntu
dacc203
-# LNLLIBS += -lcrypto
dacc203
+LNLLIBS += -lcrypto
dacc203
 
dacc203
 # link - for applications, TSS path, TSS and OpenSSl libraries
dacc203