1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-24 00:51:05 +00:00

respect ports tree CFLAGS and LFLAGS step 2

It's actually less confusing to let the port set
the other two options as well, so just move the whole
block under ifdef PORTNAME.
This commit is contained in:
Nikolai Lifanov 2016-12-30 08:41:15 -05:00
parent 4cce9a9fd1
commit 9616c80e25

View File

@ -179,11 +179,11 @@ endif # Linux
ifeq ($(UNAME),FreeBSD)
ifndef PORTNAME
CFLAGS_NATIVE := $(CFLAGS)
LFLAGS_NATIVE := $(LFLAGS)
CFLAGS_NATIVE += -march=native
endif
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
CFLAGS_NATIVE += -march=native
LFLAGS_NATIVE := $(LFLAGS)
LFLAGS_NATIVE += -lpthread
endif
endif # FreeBSD
ifeq ($(UNAME),Darwin)