Make SSE2+ instructions optinal (default ON for amd64, can be used on some i386) to alow buiding on any platform Add OpenMP option Patch to not crash when compiled with Clang Pass maintainership to submitter Bump portrevision PR: 200561 Submitted by: matthew@reztek.cz
14 lines
592 B
Diff
14 lines
592 B
Diff
--- makefile.orig 2015-05-31 23:30:20 UTC
|
|
+++ makefile
|
|
@@ -1,8 +1,8 @@
|
|
CC=gcc
|
|
CFLAGS=-std=c99 -O3 -march=native -I../sse -static -fopenmp
|
|
LIBS=
|
|
-#FILES=blake2sum.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
|
|
+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
|
|
all: $(FILES)
|
|
$(CC) $(FILES) $(CFLAGS) $(LIBS) -o b2sum
|
|
|