aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 5605dc9..abbf0c7 100644
--- a/meson.build
+++ b/meson.build
@@ -54,6 +54,9 @@ host_system = host_machine.system()
glib_dep = dependency('glib-2.0')
cc = meson.get_compiler('c')
+add_project_arguments(cc.get_supported_arguments('-Wmissing-prototypes', '-Wstrict-prototypes',
+ '-Wredundant-decls', '-Wundef', '-Wwrite-strings'),
+ language: 'c', native: false)
platform_deps = []