diff --git a/meson.build b/meson.build index 03fba44..25ffb36 100644 --- a/meson.build +++ b/meson.build @@ -3,7 +3,8 @@ project('f00bar', 'c', default_options: ['c_std=c11', 'warning_level=1', 'werror=true']) add_project_arguments( - ['-D_GNU_SOURCE'] + + ['-D_GNU_SOURCE', + '-Wno-unused-result'] + (get_option('core-plugins-as-shared-libraries') ? ['-DCORE_PLUGINS_AS_SHARED_LIBRARIES'] : []), language: 'c', )