aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 0fbe797d..df5a2b80 100644
--- a/meson.build
+++ b/meson.build
@@ -15,6 +15,7 @@ project(
gnome = import('gnome')
i18n = import('i18n')
+cc = meson.get_compiler('c')
# Trigger recomnfiguration on version change
version_stamp = configure_file(
@@ -33,6 +34,19 @@ version_stamp = configure_file(
depfile: 'version.d'
)
+# Reduce build time noise
+vala_c_args = cc.get_supported_arguments([
+ '-Wno-address',
+ '-Wno-deprecated-declarations',
+ '-Wno-discarded-qualifiers',
+ '-Wno-duplicate-decl-specifier',
+ '-Wno-unused-but-set-variable',
+ '-Wno-unused-function',
+ '-Wno-unused-label',
+ '-Wno-unused-value',
+ '-Wno-unused-variable',
+])
+
# plugin_crypto is enabled if any of the crypto plugins is enabled, auto if
# none of them are explicitly enabled but at least one is set to auto, or
# disabled if all of them are disabled.