1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 23:48:39 +00:00

Merge pull request #1850 from matrix/hash-mode-plugin

Fix Makefile DEBUG flags for OSX, add modules compiles by default
This commit is contained in:
Jens Steube 2019-01-08 17:45:27 +01:00 committed by GitHub
commit 04171fcfb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -185,10 +185,18 @@ LFLAGS += -s
endif
else
ifeq ($(DEBUG),1)
ifneq ($(UNAME),Darwin)
CFLAGS += -DDEBUG -Og -ggdb
else
CFLAGS += -DDEBUG -O0 -ggdb
endif
else
ifeq ($(DEBUG),2)
ifneq ($(UNAME),Darwin)
CFLAGS += -DDEBUG -Og -ggdb
else
CFLAGS += -DDEBUG -O0 -ggdb
endif
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
endif
endif
@ -366,7 +374,7 @@ endif
## Targets: Native Compilation
##
default: $(HASHCAT_FRONTEND)
default: $(HASHCAT_FRONTEND) modules
clean:
$(RM) -f $(HASHCAT_FRONTEND)