]> git.proxmox.com Git - mirror_qemu.git/commit
build: move warning flag selection to meson
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 22 Dec 2022 08:28:56 +0000 (09:28 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 May 2023 11:35:28 +0000 (13:35 +0200)
commit95caf1fb4230d64f7b5e117c6ea988ae38f76aa0
treeb7af154ba26faf01e773ac4ce50f6052019324cb
parent911d4caaa267c43a5aa727f5a100e9122158e989
build: move warning flag selection to meson

Meson already knows to test with the positive form of the flag, which
simplifies the test.  Warnings are now tested explicitly for the C++
compiler, instead of hardcoding those that are only available for
the C language.

At this point all compiler flags in QEMU_CFLAGS are global and only
depend on the OS.  No feature tests are performed in configure.

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure
contrib/plugins/Makefile
meson.build