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:
Andrew Tridgell 2024-07-10 16:42:25 +10:00 committed by Peter Barker
parent a551b4f296
commit 24a6e6bfa1
1 changed files with 2 additions and 2 deletions

View File

@ -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 += [