diff --git a/meson.build b/meson.build index a3618e8..f5b2354 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,7 @@ c_args = [ '-fvisibility=hidden', ] -if buildtype == 'release' or buildtype == 'plain' +if buildtype != 'debug' and buildtype != 'debugoptimized' c_args += '-DNDEBUG' endif