aboutsummaryrefslogtreecommitdiffstats
path: root/mk/sha2=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/sha2=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/sha2=yes.mk')
-rw-r--r--mk/sha2=yes.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/mk/sha2=yes.mk b/mk/sha2=yes.mk
new file mode 100644
index 0000000..cb26c08
--- /dev/null
+++ b/mk/sha2=yes.mk
@@ -0,0 +1,2 @@
+CPPFLAGS_SHA2 = $(CPPFLAGS_LIBSHA2) -DSUPPORT_SHA2
+LDFLAGS_SHA2 = $(LDFLAGS_LIBSHA2)