mirror of
https://github.com/hashcat/hashcat.git
synced 2025-01-22 21:51:07 +00:00
Switch debug to -Og
Og provides a more realistic debugging experience compared to -g (which uses the highly inefficient O0)
This commit is contained in:
parent
f3984b7413
commit
8d4b08b3ab
@ -180,10 +180,10 @@ CFLAGS += -O2
|
|||||||
LFLAGS += -s
|
LFLAGS += -s
|
||||||
else
|
else
|
||||||
ifeq ($(DEBUG),1)
|
ifeq ($(DEBUG),1)
|
||||||
CFLAGS += -DDEBUG -g -ggdb
|
CFLAGS += -DDEBUG -Og -ggdb
|
||||||
else
|
else
|
||||||
ifeq ($(DEBUG),2)
|
ifeq ($(DEBUG),2)
|
||||||
CFLAGS += -DDEBUG -g -ggdb
|
CFLAGS += -DDEBUG -Og -ggdb
|
||||||
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user