summaryrefslogtreecommitdiffstats
path: root/meson/suppressions
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-02 17:16:12 -0400
committerDavid Robillard <d@drobilla.net>2023-05-02 17:16:12 -0400
commit7d9b0bd3990e0b528ba0bc92421f7f5396e77486 (patch)
tree23b11cf7b6fed4899e29621ba9d3d18eeea445ca /meson/suppressions
parent969d6c012e51a98427cadb42473dfaeb2a1f6df5 (diff)
downloadsratom-7d9b0bd3990e0b528ba0bc92421f7f5396e77486.tar.gz
sratom-7d9b0bd3990e0b528ba0bc92421f7f5396e77486.tar.bz2
sratom-7d9b0bd3990e0b528ba0bc92421f7f5396e77486.zip
Fix warning_level=everything on MacOS
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']