summaryrefslogtreecommitdiffstats
path: root/meson/suppressions
diff options
context:
space:
mode:
Diffstat (limited to 'meson/suppressions')
-rw-r--r--meson/suppressions/meson.build6
1 files changed, 6 insertions, 0 deletions
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']