Merge pull request #1408 from neheb/patch-2

Switch debug to -Og
This commit is contained in:
Jens Steube
2017-10-28 13:38:48 +02:00
committed by GitHub

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