Changed -O0
to -Og
in the debug build
This commit is contained in:
parent
b550c93884
commit
448c862731
2
Makefile
2
Makefile
@ -36,7 +36,7 @@ CFLAGS += $(shell pkg-config --cflags $(PACKAGE_NAMES))
|
|||||||
LDFLAGS += $(shell pkg-config --libs $(PACKAGE_NAMES))
|
LDFLAGS += $(shell pkg-config --libs $(PACKAGE_NAMES))
|
||||||
|
|
||||||
ifeq ($(DEBUG),1)
|
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 \
|
-Wcast-qual -Wdisabled-optimization -Wformat=2 \
|
||||||
-Winit-self -Wlogical-op -Wmissing-declarations \
|
-Winit-self -Wlogical-op -Wmissing-declarations \
|
||||||
-Wmissing-include-dirs -Wredundant-decls -Wshadow \
|
-Wmissing-include-dirs -Wredundant-decls -Wshadow \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user