From acb4f2a79612e417271783d34ef6281501ea2bb8 Mon Sep 17 00:00:00 2001 From: Leon Klingele Date: Fri, 30 Dec 2016 00:31:43 +0100 Subject: [PATCH 1/2] Iris Pro: Tune 8700 --- hashcat.hctune | 1 + 1 file changed, 1 insertion(+) diff --git a/hashcat.hctune b/hashcat.hctune index aee02a512..bdd85671b 100644 --- a/hashcat.hctune +++ b/hashcat.hctune @@ -441,3 +441,4 @@ Iris * 13000 1 1 Iris_Pro * 5000 1 8 8 Iris_Pro * 6100 1 4 16 +Iris_Pro * 8700 1 1 256 From 4cce9a9fd1ccbb0a2ecf616ddf1465ca86439c44 Mon Sep 17 00:00:00 2001 From: Nikolai Lifanov Date: Fri, 30 Dec 2016 08:19:00 -0500 Subject: [PATCH 2/2] respect ports tree CFLAGS and LFLAGS FreeBSD ports need to respect flags passed down by the build system. This enables FreeBSD hashcat port to use upstream hashcat source code patch-free. --- src/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 46da69094..33bb69b97 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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