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
|
endif
|
||||||
else
|
else
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
|
ifneq ($(UNAME),Darwin)
|
||||||
CFLAGS += -DDEBUG -Og -ggdb
|
CFLAGS += -DDEBUG -Og -ggdb
|
||||||
else
|
else
|
||||||
|
CFLAGS += -DDEBUG -O0 -ggdb
|
||||||
|
endif
|
||||||
|
else
|
||||||
ifeq ($(DEBUG),2)
|
ifeq ($(DEBUG),2)
|
||||||
|
ifneq ($(UNAME),Darwin)
|
||||||
CFLAGS += -DDEBUG -Og -ggdb
|
CFLAGS += -DDEBUG -Og -ggdb
|
||||||
|
else
|
||||||
|
CFLAGS += -DDEBUG -O0 -ggdb
|
||||||
|
endif
|
||||||
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
@ -366,7 +374,7 @@ endif
|
|||||||
## Targets: Native Compilation
|
## Targets: Native Compilation
|
||||||
##
|
##
|
||||||
|
|
||||||
default: $(HASHCAT_FRONTEND)
|
default: $(HASHCAT_FRONTEND) modules
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) -f $(HASHCAT_FRONTEND)
|
$(RM) -f $(HASHCAT_FRONTEND)
|
||||||
|
Loading…
Reference in New Issue
Block a user