diff options
author | Alex Raschi <raschi.alex@gmail.com> | 2018-11-20 21:25:58 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2019-02-05 08:14:57 +0000 |
commit | 8d3f4c9cae0bec30b7557825499158345ff53a43 (patch) | |
tree | c861ed2c3d069ffaa4097c0b9544e4d1f464cbef /testing/b2sum/makefile.patch | |
parent | 5312ae8498221368887636b0e2cc4c45b3aa9fc9 (diff) | |
download | aports-8d3f4c9cae0bec30b7557825499158345ff53a43.tar.bz2 aports-8d3f4c9cae0bec30b7557825499158345ff53a43.tar.xz |
testing/b2sum: new aport
https://blake2.net/
BLAKE2 command line utility with multiple algorithms
Diffstat (limited to 'testing/b2sum/makefile.patch')
-rw-r--r-- | testing/b2sum/makefile.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/b2sum/makefile.patch b/testing/b2sum/makefile.patch new file mode 100644 index 0000000000..c2f334d7dc --- /dev/null +++ b/testing/b2sum/makefile.patch @@ -0,0 +1,27 @@ +--- b2sum/makefile.orig 2018-11-19 20:12:51.247182616 +0100 ++++ b2sum/makefile 2018-11-19 21:07:32.725287176 +0100 +@@ -1,6 +1,6 @@ + PROG=b2sum + PREFIX?=/usr/local +-MANDIR?=$(PREFIX)/man ++MANDIR?=$(PREFIX)/share/man + NO_OPENMP?=0 + NO_OPENMP_0=-fopenmp + NO_OPENMP_1= +@@ -9,8 +9,14 @@ CFLAGS?=-O3 -march=native + CFLAGS+=-std=c89 -Wall -Wextra -pedantic -Wno-long-long -I../sse + CFLAGS+=$(NO_OPENMP_$(NO_OPENMP)) + LIBS= +-#FILES=b2sum.c ../ref/blake2b-ref.c ../ref/blake2s-ref.c ../ref/blake2bp-ref.c ../ref/blake2sp-ref.c +-FILES=b2sum.c ../sse/blake2b.c ../sse/blake2s.c ../sse/blake2bp.c ../sse/blake2sp.c ++ ++USE?=ref ++LIB_ref=../ref/blake2b-ref.c ../ref/blake2s-ref.c ../ref/blake2bp-ref.c ../ref/blake2sp-ref.c ++LIB_sse=../sse/blake2b.c ../sse/blake2s.c ../sse/blake2bp.c ../sse/blake2sp.c ++LIB_neon=../neon/blake2b.c ../neon/blake2s.c ../neon/blake2bp.c ../neon/blake2sp.c ++ ++FILES=b2sum.c $(LIB_$(USE)) ++ + all: $(FILES) + $(CC) $(FILES) $(CFLAGS) $(LIBS) -o $(PROG) + |