aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 5c14b11..bb3821e 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}
@@ -47,7 +47,7 @@ all: ${LIB}
${OBJ}: ${INC}
${LIB}: ${OBJ}
- ar rcs $@ $^
+ ${AR} rcs $@ $^
asn1.o rsa.o ecdsa.o: asn1_internal.h