aboutsummaryrefslogtreecommitdiffstats
path: root/mk/blake2s=yes.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-01 16:34:46 +0200
committerMattias Andrée <maandree@kth.se>2024-09-01 16:34:46 +0200
commitd737d34b436f673173695c4c772f0ddef9fe7837 (patch)
treef6bf400809124d411eaff38fe2c9d24842c8d23a /mk/blake2s=yes.mk
parentm fix (diff)
downloadlibhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.gz
libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.bz2
libhashsum-d737d34b436f673173695c4c772f0ddef9fe7837.tar.xz
Add support for BLAKE2 (but not tree-hashing)
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--mk/blake2s=yes.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/blake2s=yes.mk b/mk/blake2s=yes.mk
new file mode 100644
index 0000000..caeed5f
--- /dev/null
+++ b/mk/blake2s=yes.mk
@@ -0,0 +1,4 @@
+CPPFLAGS_BLAKE2S = -DSUPPORT_BLAKE2S
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE)
+LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE)