mirror of
https://github.com/hashcat/hashcat.git
synced 2025-06-23 16:38:51 +00:00
Merge pull request #941 from lifanov/master
respect ports tree CFLAGS and LFLAGS step 2
This commit is contained in:
commit
fe37fce73f
@ -179,11 +179,11 @@ endif # Linux
|
|||||||
ifeq ($(UNAME),FreeBSD)
|
ifeq ($(UNAME),FreeBSD)
|
||||||
ifndef PORTNAME
|
ifndef PORTNAME
|
||||||
CFLAGS_NATIVE := $(CFLAGS)
|
CFLAGS_NATIVE := $(CFLAGS)
|
||||||
LFLAGS_NATIVE := $(LFLAGS)
|
|
||||||
CFLAGS_NATIVE += -march=native
|
|
||||||
endif
|
|
||||||
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
CFLAGS_NATIVE += -I$(OPENCL_HEADERS_KHRONOS)/
|
||||||
|
CFLAGS_NATIVE += -march=native
|
||||||
|
LFLAGS_NATIVE := $(LFLAGS)
|
||||||
LFLAGS_NATIVE += -lpthread
|
LFLAGS_NATIVE += -lpthread
|
||||||
|
endif
|
||||||
endif # FreeBSD
|
endif # FreeBSD
|
||||||
|
|
||||||
ifeq ($(UNAME),Darwin)
|
ifeq ($(UNAME),Darwin)
|
||||||
|
Loading…
Reference in New Issue
Block a user