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:
parent
0ae955c5ba
commit
7d3fee8a55
10
src/Makefile
10
src/Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user