Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/BLAKE2/BLAKE2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Neves <sneves@dei.uc.pt>2016-06-19 19:55:55 +0300
committerSamuel Neves <sneves@dei.uc.pt>2016-06-19 19:55:55 +0300
commit5f2f566442fff6deb981567f4aa56b645552752b (patch)
tree60580682671d6948d9f701382e4cd906c131dbdb
parent003671f8af0a212892596169fff2a2e35b98de53 (diff)
no static b2sum, optional openmp20160619
-rw-r--r--b2sum/makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/b2sum/makefile b/b2sum/makefile
index 8558b2b..4d19474 100644
--- a/b2sum/makefile
+++ b/b2sum/makefile
@@ -1,9 +1,13 @@
PROG=b2sum
PREFIX?=/usr/local
MANDIR?=$(PREFIX)/man
+NO_OPENMP?=0
+NO_OPENMP_0=-fopenmp
+NO_OPENMP_1=
CC?=gcc
-CFLAGS?=-O3 -march=native -static -Werror=declaration-after-statement
-CFLAGS+=-std=c99 -I../sse -fopenmp
+CFLAGS?=-O3 -march=native -Werror=declaration-after-statement
+CFLAGS+=-std=c99 -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