From 1f33fca3bcf2f7f329f9ba46b2c19f785e00ec98 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 21 Apr 2022 18:24:47 -0400 Subject: Fix MacOS build --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index b465ca1..c135329 100644 --- a/meson.build +++ b/meson.build @@ -50,6 +50,12 @@ if get_option('strict') '-Wno-switch-default', '-Wno-switch-enum', ] + + if host_machine.system() == 'darwin' + c_warnings += [ + '-Wno-poison-system-directories', + ] + endif elif cc.get_id() == 'gcc' c_warnings += [ '-Wno-bad-function-cast', -- cgit v1.2.1