Skip to content
Prev Previous commit
Next Next commit
Change LDFLAGS in Makefile
  • Loading branch information
ellermister committed Nov 24, 2023
commit 770ebc883eaf55de4998f239d8f05a3ec4254f1b
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARCH = -m64
endif

CFLAGS = $(ARCH) -O3 -std=gnu11 -Wall -mpclmul -march=core2 -mfpmath=sse -mssse3 -fno-strict-aliasing -fno-strict-overflow -fwrapv -fcommon -DAES=1 -DCOMMIT=\"${COMMIT}\" -D_GNU_SOURCE=1 -D_FILE_OFFSET_BITS=64
LDFLAGS = -static $(ARCH) -ggdb -lm -lrt -lz -lpthread -lssl -lcrypto -fcommon
LDFLAGS = -static -pthread $(ARCH) -ggdb -lm -lrt -lz -lpthread -lssl -lcrypto -fcommon -ldl

LIB = ${OBJ}/lib
CINCLUDE = -iquote common -iquote .
Expand Down