diff options
-rw-r--r-- | meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
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', |