Created
August 24, 2015 12:03
-
-
Save sbp/fd3da20b8d9838af1a98 to your computer and use it in GitHub Desktop.
Patch for building BLAKE2 b2sum on OS X
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff | |
diff --git a/b2sum/makefile b/b2sum/makefile | |
index 806cc72..1171005 100644 | |
--- a/b2sum/makefile | |
+++ b/b2sum/makefile | |
@@ -1,5 +1,5 @@ | |
-CC=gcc | |
-CFLAGS=-std=c99 -O3 -march=native -I../sse -static -fopenmp | |
+CC=gcc-5 | |
+CFLAGS=-std=c99 -O3 -march=native -I../sse -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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment