aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-02 19:47:44 -0400
committerDavid Robillard <d@drobilla.net>2023-05-02 19:47:44 -0400
commit5dc503e6c79838eb93ad7cc2067b562ae0dfcce4 (patch)
tree022134dc6aab33b96b678172117b670e770f66f0 /test
parentf7c300a0ba9b7338daa60e4aa5c7931d708a0700 (diff)
downloadlv2-5dc503e6c79838eb93ad7cc2067b562ae0dfcce4.tar.xz
Fix warning_level=everything on MacOS
Diffstat (limited to 'test')
-rw-r--r--test/headers/meson.build6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/headers/meson.build b/test/headers/meson.build
index 1d2162f..6e9ac7a 100644
--- a/test/headers/meson.build
+++ b/test/headers/meson.build
@@ -12,6 +12,12 @@ if get_option('warning_level') == 'everything'
'-Wno-padded',
]
+ if not meson.is_cross_build()
+ header_c_suppressions += [
+ '-Wno-poison-system-directories',
+ ]
+ endif
+
if host_machine.system() == 'windows'
header_c_suppressions += [
'-Wno-format-nonliteral',