1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-03-25 11:55:42 +00:00

Merge pull request #940 from lifanov/master

respect ports tree CFLAGS and LFLAGS
This commit is contained in:
Jens Steube 2016-12-30 14:27:19 +01:00 committed by GitHub
commit e5d72589b4

View File

@ -177,10 +177,12 @@ LFLAGS_NATIVE += -lpthread -ldl
endif # Linux
ifeq ($(UNAME),FreeBSD)
ifndef PORTNAME
CFLAGS_NATIVE := $(CFLAGS)
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
CFLAGS_NATIVE += -march=native
LFLAGS_NATIVE := $(LFLAGS)
CFLAGS_NATIVE += -march=native
endif
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
LFLAGS_NATIVE += -lpthread
endif # FreeBSD