configure: Pass filtered QEMU_OBJCFLAGS to meson
commit4cb37d1192e112159e3f8cb13de98a09fef502fa
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 15 Feb 2022 15:15:13 +0000 (15 16:15 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 15 Mar 2022 12:36:33 +0000 (15 13:36 +0100)
treee91965ff2a9c1491d5e08cbd983e1b322fa19a24
parentcf3ab8fe9e2360eace4c84b6779e0ab69516ae7e
configure: Pass filtered QEMU_OBJCFLAGS to meson

Filter unsupported Objective-C options, to avoid
'unknown-warning-option' warnings when using Clang:

  [34/373] Compiling Objective-C object libcommon.fa.p/audio_coreaudio.m.o
  warning: unknown warning option '-Wold-style-declaration'; did you mean '-Wout-of-line-declaration'? [-Wunknown-warning-option]
  warning: unknown warning option '-Wimplicit-fallthrough=2'; did you mean '-Wimplicit-fallthrough'? [-Wunknown-warning-option]
  2 warnings generated.

Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Tested-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
configure
meson.build