aboutsummaryrefslogtreecommitdiffstats
path: root/mk/sha1=yes.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-08-24 11:26:42 +0200
committerMattias Andrée <maandree@kth.se>2024-08-24 11:26:42 +0200
commit3a73ab675a19e2ea29b4cb1385db0188ce4997f8 (patch)
treeb010de454a833b01fe2ed469fd4f0fd699c59e50 /mk/sha1=yes.mk
parentTest partial byte support in SHA1 and SHA-224 (diff)
downloadlibhashsum-3a73ab675a19e2ea29b4cb1385db0188ce4997f8.tar.gz
libhashsum-3a73ab675a19e2ea29b4cb1385db0188ce4997f8.tar.bz2
libhashsum-3a73ab675a19e2ea29b4cb1385db0188ce4997f8.tar.xz
Make algorithms optional
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'mk/sha1=yes.mk')
-rw-r--r--mk/sha1=yes.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/sha1=yes.mk b/mk/sha1=yes.mk
new file mode 100644
index 0000000..c15ebc3
--- /dev/null
+++ b/mk/sha1=yes.mk
@@ -0,0 +1,2 @@
+CPPFLAGS_SHA1 = $(CPPFLAGS_LIBSHA1) -DSUPPORT_SHA0 -DSUPPORT_SHA1
+LDFLAGS_SHA1 = $(LDFLAGS_LIBSHA1)