aboutsummaryrefslogtreecommitdiffstats
path: root/meson/suppressions
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-30 21:03:07 -0400
committerDavid Robillard <d@drobilla.net>2023-04-30 21:05:01 -0400
commitda41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce (patch)
tree4acfc074ae27b84228f268b3c0e4765f6a895060 /meson/suppressions
parent99a19fbc8e2604dc0b048c17b554d0c395810569 (diff)
downloadserd-da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce.tar.gz
serd-da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce.tar.bz2
serd-da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce.zip
Suppress cross-compilation warnings in MacOS builds
Diffstat (limited to 'meson/suppressions')
-rw-r--r--meson/suppressions/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build
index 46ed049c..22adecdc 100644
--- a/meson/suppressions/meson.build
+++ b/meson/suppressions/meson.build
@@ -33,6 +33,10 @@ if is_variable('cc')
]
endif
+ if not meson.is_cross_build()
+ c_suppressions += ['-Wno-poison-system-directories']
+ endif
+
elif cc.get_id() == 'gcc'
c_suppressions += [
'-Wno-cast-align',