From d860204cd3f8df47938601405cfca8199b7b46ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 11 May 2019 11:27:20 +0200 Subject: [PATCH] meson: set b_ndebug=if-release --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 6f996c9..18a8835 100644 --- a/meson.build +++ b/meson.build @@ -2,7 +2,10 @@ project('f00bar', 'c', version: '1.0.3', license: 'MIT', meson_version: '>=0.48.0', - default_options: ['c_std=c11', 'warning_level=1', 'werror=true']) + default_options: ['c_std=c11', + 'warning_level=1', + 'werror=true', + 'b_ndebug=if-release']) plugs_as_libs = get_option('core-plugins-as-shared-libraries')