Makefile: Use -Og instead of -O1 for dev build

This commit is contained in:
2024-04-17 12:09:38 +02:00
parent 2505217c70
commit b884c1d65c

View File

@@ -88,9 +88,9 @@ CFLAGS := -std=gnu11
### dev OR release ### dev OR release
# dev # dev
# CFLAGS += -O1
CFLAGS += -g # symbols (gdb, perf, etc.) CFLAGS += -g # symbols (gdb, perf, etc.)
CFLAGS += -ginline-points # inlined funcs debug info CFLAGS += -ginline-points # inlined funcs debug info
#CFLAGS += -Og
# for gprof # for gprof
#CFLAGS += -pg #CFLAGS += -pg
# Next one may be useful for valgrind (when invalid instructions) # Next one may be useful for valgrind (when invalid instructions)