summaryrefslogtreecommitdiff
path: root/test/tpm_test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/tpm_test/Makefile')
-rw-r--r--test/tpm_test/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tpm_test/Makefile b/test/tpm_test/Makefile
index 985e0fffcb..95c407c03f 100644
--- a/test/tpm_test/Makefile
+++ b/test/tpm_test/Makefile
@@ -30,9 +30,10 @@ else
# Use BOARD=cr50 specific implementation
vpath %c $(src) ../../board/cr50/dcrypto $(src)/testlib
CFLAGS += -I../../board/cr50/dcrypto
+CFLAGS += -DCR50_DCRYPTO
endif
-CFLAGS += -fPIC
+CFLAGS += -O2 -fPIC
CFLAGS += -I ${PYTHON_INCLUDE}
CFLAGS += -I../../../../third_party/cryptoc/include
CFLAGS += -I../../board/cr50