From 5dc503e6c79838eb93ad7cc2067b562ae0dfcce4 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 2 May 2023 19:47:44 -0400 Subject: Fix warning_level=everything on MacOS --- test/headers/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') 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', -- cgit v1.2.1