diff options
author | David Robillard <d@drobilla.net> | 2023-05-02 17:15:57 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-05-02 17:15:57 -0400 |
commit | 4ccc78edb2b0e515e08d2130457e078b23eb0802 (patch) | |
tree | 38d10083219f8817358de16893f220d710b0a98f /meson/suppressions | |
parent | 762eebf596d14bf25d9c3cc1ec87167991efb270 (diff) | |
download | sord-4ccc78edb2b0e515e08d2130457e078b23eb0802.tar.gz sord-4ccc78edb2b0e515e08d2130457e078b23eb0802.tar.bz2 sord-4ccc78edb2b0e515e08d2130457e078b23eb0802.zip |
Fix warning_level=everything on MacOS
Diffstat (limited to 'meson/suppressions')
-rw-r--r-- | meson/suppressions/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index b5b5e01..fb962e6 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -27,6 +27,12 @@ if cc.get_id() in ['clang', 'emscripten'] '-Wno-switch-enum', '-Wno-unused-macros', ] + + if not meson.is_cross_build() + c_suppressions += [ + '-Wno-poison-system-directories', + ] + endif endif if warning_level in ['everything', '3'] |