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:
parent
3a7d0b67fa
commit
c2e43ee42c
@ -10,7 +10,7 @@ endif
|
||||
|
||||
ifeq ($(debug),yes)
|
||||
CPPFLAGS += -DKAK_DEBUG
|
||||
CXXFLAGS += -Og
|
||||
CXXFLAGS += -O0
|
||||
suffix := .debug
|
||||
else
|
||||
ifeq ($(debug),no)
|
||||
|
Loading…
Reference in New Issue
Block a user