aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-02-11 09:25:11 +0100
committerMattias Andrée <maandree@operamail.com>2014-02-11 09:25:11 +0100
commit7510f5b16df9493e24f7ec8291c64e521811c53a (patch)
tree15271c3cde9f0a9878626ab425ddee5d848a4204 /Makefile
parenttypo (diff)
downloadsha3sum-7510f5b16df9493e24f7ec8291c64e521811c53a.tar.gz
sha3sum-7510f5b16df9493e24f7ec8291c64e521811c53a.tar.bz2
sha3sum-7510f5b16df9493e24f7ec8291c64e521811c53a.tar.xz
add thread support
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f7180a2..e9130aa 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,9 @@ 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
+endif
SOFLAGS=-W{all,extra} -pedantic $(C_OPTIMISE) -shared
CPPFLAGS=
LDFLAGS=