1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-01 08:23:05 +03:00

Use -O0 for debug builds

-Og is not nice enough to work with in gdb, control jumps around
in too unpredictible ways due to inlining.
This commit is contained in:
Maxime Coste 2019-07-09 19:27:55 +10:00
parent 3a7d0b67fa
commit c2e43ee42c

View File

@ -10,7 +10,7 @@ endif
ifeq ($(debug),yes)
CPPFLAGS += -DKAK_DEBUG
CXXFLAGS += -Og
CXXFLAGS += -O0
suffix := .debug
else
ifeq ($(debug),no)