meson: Set -DNDEBUG for all other build types than debug or debugoptimized

pull/30/head
Andri Yngvason 2020-04-12 14:25:49 +00:00
parent d12e66b043
commit 97899ed045
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ c_args = [
'-fvisibility=hidden', '-fvisibility=hidden',
] ]
if buildtype == 'release' or buildtype == 'plain' if buildtype != 'debug' and buildtype != 'debugoptimized'
c_args += '-DNDEBUG' c_args += '-DNDEBUG'
endif endif