diff options
author | David Robillard <d@drobilla.net> | 2023-04-30 21:03:07 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-04-30 21:05:01 -0400 |
commit | da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce (patch) | |
tree | 4acfc074ae27b84228f268b3c0e4765f6a895060 /test | |
parent | 99a19fbc8e2604dc0b048c17b554d0c395810569 (diff) | |
download | serd-da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce.tar.gz serd-da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce.tar.bz2 serd-da41fa9b0d6b5b24326b73d2d0ea3cfb4e0145ce.zip |
Suppress cross-compilation warnings in MacOS builds
Diffstat (limited to 'test')
-rw-r--r-- | test/headers/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/headers/meson.build b/test/headers/meson.build index 78a48618..6cb14f6e 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -8,6 +8,11 @@ if get_option('warning_level') == 'everything' header_c_suppressions += [ '-Wno-padded', ] + + if not meson.is_cross_build() + header_c_suppressions += ['-Wno-poison-system-directories'] + endif + elif cc.get_id() == 'gcc' header_c_suppressions += [ '-Wno-padded', |