waf: use debug option 3 which records defines as well

This commit is contained in:
bugobliterator 2024-06-26 14:59:47 +10:00 committed by Peter Barker
parent 2363e972bc
commit 4260acb21a

View File

@ -286,7 +286,7 @@ class Board:
if cfg.env.DEBUG: if cfg.env.DEBUG:
env.CFLAGS += [ env.CFLAGS += [
'-g', '-g3',
'-O0', '-O0',
] ]
env.DEFINES.update( env.DEFINES.update(
@ -294,7 +294,7 @@ class Board:
) )
elif cfg.options.debug_symbols: elif cfg.options.debug_symbols:
env.CFLAGS += [ env.CFLAGS += [
'-g', '-g3',
] ]
if cfg.env.COVERAGE: if cfg.env.COVERAGE:
env.CFLAGS += [ env.CFLAGS += [