mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Use gdwarf-5 debugging information.
This commit is contained in:
parent
b6af12b6b1
commit
2d041c9936
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -146,7 +146,7 @@ ifeq ($(DEBUG),GDB)
|
||||||
OPTIMISE_DEFAULT := -Og
|
OPTIMISE_DEFAULT := -Og
|
||||||
|
|
||||||
LTO_FLAGS := $(OPTIMISE_DEFAULT)
|
LTO_FLAGS := $(OPTIMISE_DEFAULT)
|
||||||
DEBUG_FLAGS = -ggdb3 -DDEBUG
|
DEBUG_FLAGS = -ggdb3 -gdwarf-5 -DDEBUG
|
||||||
else
|
else
|
||||||
ifeq ($(DEBUG),INFO)
|
ifeq ($(DEBUG),INFO)
|
||||||
DEBUG_FLAGS = -ggdb3
|
DEBUG_FLAGS = -ggdb3
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue