Switch debug to -Og

Og provides a more realistic debugging experience compared to -g (which uses the highly inefficient O0)
pull/1408/head
Rosen Penev 7 years ago committed by GitHub
parent f3984b7413
commit 8d4b08b3ab

@ -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

Loading…
Cancel
Save