You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

36 lines
969 B

Index: src/Makefile
--- src/Makefile.orig 2015-12-04 16:35:08.000000000 +0100
+++ src/Makefile 2015-12-28 18:35:52.645584432 +0100
@@ -32,9 +32,9 @@
# -mstackrealign is required otherwise crashes on windows xp, see hashcat v0.41 and v0.42
-CFLAGS := -W -Wall -pipe -I include/ -O2 -s -fomit-frame-pointer -funroll-loops
+CFLAGS := -I$(PREFIX)/include -pipe -I include/ -O2 -fomit-frame-pointer -funroll-loops
#CFLAGS := -W -Wall -pipe -I include/ -g
-LDFLAGS :=
+LDFLAGS := -L$(PREFIX)
all: binaries
Index: src/hashcat-cli.c
--- src/hashcat-cli.c.orig 2015-12-04 16:35:08.000000000 +0100
+++ src/hashcat-cli.c 2015-12-28 18:37:50.975568201 +0100
@@ -17,7 +17,7 @@
// for interactive status prompt
#ifdef POSIX
-#ifndef OSX
+#if !defined(OSX) && !defined(__FreeBSD__)
#include <termio.h>
@@ -2836,7 +2836,7 @@
#ifdef POSIX
-#ifndef OSX
+#if !defined(OSX) && !defined(__FreeBSD__)
static struct termio savemodes;
static int havemodes = 0;