meson: Set -DNDEBUG if not building debug rather than when building release or plain
parent
4f5933c07f
commit
aaa782c551
|
@ -16,7 +16,7 @@ c_args = [
|
|||
'-D_GNU_SOURCE',
|
||||
]
|
||||
|
||||
if buildtype == 'release' or buildtype == 'plain'
|
||||
if buildtype != 'debug' and buildtype != 'debugoptimized'
|
||||
c_args += '-DNDEBUG'
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue