Skip to content

Commit 1154c34

Browse files
committed
Merge pull request hashcat#50 from gm4tr1x/07012015v0
Fix issues #48 and #49
2 parents b445994 + 444c9d3 commit 1154c34

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

include/common.h

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
#ifdef OSX
3333
#include <emmintrin.h>
34+
#include <tmmintrin.h>
3435
#else
3536
#include <x86intrin.h>
3637
#endif

src/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ LDFLAGS :=
3434
DIR_OSX64 = obj/osx64
3535
CC_OSX64 = i686-apple-darwin10-gcc
3636
LIBGMP_OSX64 = deps/gmp/osx64
37-
CFLAGS_OSX64 = $(CFLAGS) -I$(LIBGMP_OSX64)/include -D__HC_x86_64__ -DOSX -m64 -msse2 -fnested-functions -arch x86_64 -mmacosx-version-min=10.5
38-
LDFLAGS_OSX64 = $(LDFLAGS) -L$(LIBGMP_OSX64)/lib -lm -lpthread -mmacosx-version-min=10.5 -lgmp
37+
CFLAGS_OSX64 = $(CFLAGS) -I$(LIBGMP_OSX64)/include -D__HC_x86_64__ -DOSX -m64 -msse2 -arch x86_64 -mmacosx-version-min=10.5
38+
LDFLAGS_OSX64 = $(LDFLAGS) -L$(LIBGMP_OSX64)/lib -lm -lpthread -lgmp
3939

4040
$(DIR_OSX64)/rules-debug64.app: $(DIR_OSX64)/rp.o src/rules-debug.c
4141
$(CC_OSX64) $(filter-out -s,$(CFLAGS_OSX64)) $(DIR_OSX64)/*.o src/rules-debug.c -o $@ $(LDFLAGS_OSX64)

0 commit comments

Comments
 (0)