1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00

Fix Makefile DEBUG flags for OSX, add modules compiles by default

This commit is contained in:
Gabriele Gristina 2019-01-08 16:32:27 +01:00
parent 0ae955c5ba
commit 7d3fee8a55

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)