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