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:
commit
04171fcfb5
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