diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-11 09:40:46 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-11 09:40:46 +0100 |
commit | 443d2a176017cba5ec3c38f0e0ebc8d0aa458c74 (patch) | |
tree | 99ec5a0651dd2014a90b1cb30202bf36592e46f1 /Makefile | |
parent | add thread support (diff) | |
download | sha3sum-443d2a176017cba5ec3c38f0e0ebc8d0aa458c74.tar.gz sha3sum-443d2a176017cba5ec3c38f0e0ebc8d0aa458c74.tar.bz2 sha3sum-443d2a176017cba5ec3c38f0e0ebc8d0aa458c74.tar.xz |
c version: make with WITH_WIPE=yes to wipe the state and message buffer before freeing
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,12 +20,16 @@ JAVADIRS=-s "java" -d "bin/java" -cp "java" JAVAFLAGS=-Xlint $(JAVA_OPTIMISE) JAVA_FLAGS=$(JAVADIRS) $(JAVAFLAGS) +WITH_WIPE=yes CFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -fPIC ifeq ($(WITH_C99),yes) CFLAGS+=-std=c99 -DWITH_C99 endif ifeq ($(WITH_THREADLOCAL),yes) - CFLAGS+=-DWITH_THREADLOCAL + CFLAGS+=-DWITH_THREADLOCAL -DWITH_WIPE +endif +ifeq ($(WITH_WIPE),yes) + CFLAGS+=-DWITH_WIPE endif SOFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -shared CPPFLAGS= |