1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-23 16:38:29 +00: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) ifeq ($(UNAME),Darwin)
export MACOSX_DEPLOYMENT_TARGET=10.9 export MACOSX_DEPLOYMENT_TARGET=10.9
CFLAGS_NATIVE := $(CFLAGS) CFLAGS_NATIVE := $(CFLAGS)
CFLAGS_NATIVE += -framework OpenCL
CFLAGS_NATIVE += -march=native CFLAGS_NATIVE += -march=native
LFLAGS_NATIVE := $(LFLAGS) LFLAGS_NATIVE := $(LFLAGS)
LFLAGS_NATIVE += -framework OpenCL
LFLAGS_NATIVE += -lpthread LFLAGS_NATIVE += -lpthread
endif # Darwin endif # Darwin