aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2015-10-29 15:21:35 -0400
committerPaul Selkirk <paul@psgd.org>2015-10-29 15:21:35 -0400
commit3ddf1e38e15a94e3a7cad78a61ecb24ef68cfcb3 (patch)
tree74bdc89bc65f4bc3dd0091fbe38c9fd12f42e821
parent2e71409d56ada39eb060bcda9aaffb3bd0ef6e24 (diff)
change CFLAGS assignment to += for cross-building
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 507782b..fd01408 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -37,7 +37,7 @@ IO_OBJ_I2C = hal_io_i2c.o
IO_OBJ = ${IO_OBJ_EIM}
TFMDIR := $(abspath ../thirdparty/libtfm)
-CFLAGS := -g3 -Wall -fPIC -std=c99 -I${TFMDIR} -DHAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM=1
+CFLAGS += -g3 -Wall -fPIC -std=c99 -I${TFMDIR} -DHAL_ECDSA_DEBUG_ONLY_STATIC_TEST_VECTOR_RANDOM=1
LDFLAGS := -g3 -L${TFMDIR} -ltfm
all: ${LIB}