meson: use NDEBUG in release like b_ndebug=if-release
parent
f851f4fb89
commit
334887915e
|
@ -29,7 +29,7 @@ if git.found()
|
|||
endif
|
||||
endif
|
||||
|
||||
if buildtype != 'debug' and buildtype != 'debugoptimized'
|
||||
if buildtype == 'release'
|
||||
c_args += '-DNDEBUG'
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue