summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson/suppressions/meson.build6
-rw-r--r--test/headers/meson.build2
2 files changed, 8 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']
diff --git a/test/headers/meson.build b/test/headers/meson.build
index b5d7c71..890006f 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -9,7 +9,9 @@ if get_option('warning_level') == 'everything'
'-Wno-cast-align', # LV2
'-Wno-cast-qual', # LV2
'-Wno-declaration-after-statement', # LV2
+ '-Wno-documentation-unknown-command', # LV2
'-Wno-padded', # LV2, serd
+ '-Wno-poison-system-directories',
]
elif cc.get_id() == 'gcc'
header_c_suppressions += [