aboutsummaryrefslogtreecommitdiffstats
path: root/mk/blake2b=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/blake2b=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 'mk/blake2b=yes.mk')
-rw-r--r--mk/blake2b=yes.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/blake2b=yes.mk b/mk/blake2b=yes.mk
new file mode 100644
index 0000000..0790c78
--- /dev/null
+++ b/mk/blake2b=yes.mk
@@ -0,0 +1,4 @@
+CPPFLAGS_BLAKE2B = -DSUPPORT_BLAKE2B
+
+CPPFLAGS_LIBBLAKE_IF_SUPPORTED = $(CPPFLAGS_LIBBLAKE)
+LDFLAGS_LIBBLAKE_IF_SUPPORTED = $(LDFLAGS_LIBBLAKE)