From 8a9c65ff910a575abc45ac4acad4a81b381d5615 Mon Sep 17 00:00:00 2001 From: shermhead <30952720+shermhead@users.noreply.github.com> Date: Mon, 29 Jan 2018 22:01:01 +0700 Subject: [PATCH] Update Makefile update make for successful install on modern Linux distributions --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e85e13c..eebd50c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ OBJ_UTIL = hex.o bloom.o mmapf.o hsearchf.o ec_pubkey_fast.o ripemd160_256.o dld OBJ_ALGO = $(patsubst %.c,%.o,$(wildcard algo/*.c)) OBJECTS = $(OBJ_MAIN) $(OBJ_UTIL) $(OBJ_ALGO) BINARIES = brainflayer hexln hex2blf blfchk ecmtabgen filehex -LIBS = -lssl -lrt -lcrypto -lz -lgmp +LIBS = -lssl -lrt -lcrypto -lz -lgmp -lpthread CFLAGS = -O3 \ -flto -funsigned-char -falign-functions=16 -falign-loops=16 -falign-jumps=16 \ -Wall -Wextra -Wno-pointer-sign -Wno-sign-compare \