From 7d9b0bd3990e0b528ba0bc92421f7f5396e77486 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 2 May 2023 17:16:12 -0400 Subject: Fix warning_level=everything on MacOS --- meson/suppressions/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson/suppressions') diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index 6c04801..1909d7b 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -34,6 +34,12 @@ if cc.get_id() == 'clang' '-Wno-format-nonliteral', ] endif + + if not meson.is_cross_build() + c_suppressions += [ + '-Wno-poison-system-directories', + ] + endif endif if warning_level in ['everything', '3'] -- cgit v1.2.1