aboutsummaryrefslogtreecommitdiffstats
path: root/meson/warnings/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/warnings/meson.build')
-rw-r--r--meson/warnings/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson/warnings/meson.build b/meson/warnings/meson.build
index 6780caed..4d23ad36 100644
--- a/meson/warnings/meson.build
+++ b/meson/warnings/meson.build
@@ -171,5 +171,5 @@ if is_variable('cc')
endif
all_c_warnings = cc.get_supported_arguments(all_c_warnings)
- add_project_arguments(all_c_warnings, language: ['c'])
+ add_global_arguments(all_c_warnings, language: ['c'])
endif