From aa3e03355e3d9515ae586ab966f786c317f8b7ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sat, 4 May 2019 11:28:49 +0200 Subject: [PATCH] meson: -Wno-unused-result no longer needed --- meson.build | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 748c2c7..db82e1b 100644 --- a/meson.build +++ b/meson.build @@ -3,8 +3,7 @@ project('f00bar', 'c', default_options: ['c_std=c11', 'warning_level=1', 'werror=true']) add_project_arguments( - ['-D_GNU_SOURCE', - '-Wno-unused-result'] + + ['-D_GNU_SOURCE'] + (get_option('core-plugins-as-shared-libraries') ? ['-DCORE_PLUGINS_AS_SHARED_LIBRARIES'] : []), language: 'c',