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 b5b5e01..fb962e6 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -27,6 +27,12 @@ if cc.get_id() in ['clang', 'emscripten']
'-Wno-switch-enum',
'-Wno-unused-macros',
]
+
+ if not meson.is_cross_build()
+ c_suppressions += [
+ '-Wno-poison-system-directories',
+ ]
+ endif
endif
if warning_level in ['everything', '3']