diff --git a/src/Makefile b/src/Makefile index 93569fc52..a5f0bbc8e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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