meson: use NDEBUG in release like b_ndebug=if-release

pull/143/head
Issam E. Maghni 2022-07-10 10:55:00 -04:00
parent f851f4fb89
commit 334887915e
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if git.found()
endif
endif
if buildtype != 'debug' and buildtype != 'debugoptimized'
if buildtype == 'release'
c_args += '-DNDEBUG'
endif