1
0
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:
Rosen Penev 2017-10-27 00:08:56 -07:00 committed by GitHub
parent f3984b7413
commit 8d4b08b3ab

View File

@ -180,10 +180,10 @@ CFLAGS += -O2
LFLAGS += -s
else
ifeq ($(DEBUG),1)
CFLAGS += -DDEBUG -g -ggdb
CFLAGS += -DDEBUG -Og -ggdb
else
ifeq ($(DEBUG),2)
CFLAGS += -DDEBUG -g -ggdb
CFLAGS += -DDEBUG -Og -ggdb
CFLAGS += -fsanitize=address -fno-omit-frame-pointer
endif
endif