1
mirror of https://github.com/hashcat/hashcat synced 2024-11-28 05:21:38 +01:00

Move '-framework OpenCL' from CFLAGS to LDFLAGS

This commit is contained in:
Gabriele Gristina 2016-10-30 14:31:17 +01:00
parent cf1c133678
commit 0b2abb17da

View File

@ -135,9 +135,9 @@ endif # FreeBSD
ifeq ($(UNAME),Darwin)
export MACOSX_DEPLOYMENT_TARGET=10.9
CFLAGS_NATIVE := $(CFLAGS)
CFLAGS_NATIVE += -framework OpenCL
CFLAGS_NATIVE += -march=native
LFLAGS_NATIVE := $(LFLAGS)
LFLAGS_NATIVE += -framework OpenCL
LFLAGS_NATIVE += -lpthread
endif # Darwin