From 448c8627311315ca0b4f05cdb5fa4e6d065f85ad Mon Sep 17 00:00:00 2001 From: fedir Date: Tue, 20 May 2025 11:25:38 +0200 Subject: [PATCH] Changed `-O0` to `-Og` in the debug build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b934d76..e87933a 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,7 @@ CFLAGS += $(shell pkg-config --cflags $(PACKAGE_NAMES)) LDFLAGS += $(shell pkg-config --libs $(PACKAGE_NAMES)) ifeq ($(DEBUG),1) - CFLAGS += -O0 -pedantic -g -Wall -Wextra -Wcast-align \ + CFLAGS += -Og -pedantic -g -Wall -Wextra -Wcast-align \ -Wcast-qual -Wdisabled-optimization -Wformat=2 \ -Winit-self -Wlogical-op -Wmissing-declarations \ -Wmissing-include-dirs -Wredundant-decls -Wshadow \