mirror of https://github.com/ArduPilot/ardupilot
waf: Revert "waf: use debug option 3 which records defines as well"
this change made use of gdb so slow it is completely unusable for ArduPilot. Far too many macros, loading gdb takes forever
This commit is contained in:
parent
a551b4f296
commit
24a6e6bfa1
|
@ -286,7 +286,7 @@ class Board:
|
|||
|
||||
if cfg.env.DEBUG:
|
||||
env.CFLAGS += [
|
||||
'-g3',
|
||||
'-g',
|
||||
'-O0',
|
||||
]
|
||||
env.DEFINES.update(
|
||||
|
@ -294,7 +294,7 @@ class Board:
|
|||
)
|
||||
elif cfg.options.debug_symbols:
|
||||
env.CFLAGS += [
|
||||
'-g3',
|
||||
'-g',
|
||||
]
|
||||
if cfg.env.COVERAGE:
|
||||
env.CFLAGS += [
|
||||
|
|
Loading…
Reference in New Issue