OSDN Git Service

configure, meson: move CPU_CFLAGS out of QEMU_CFLAGS
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 29 Sep 2021 15:14:43 +0000 (17:14 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 5 Oct 2021 11:10:29 +0000 (13:10 +0200)
commit4dba27890844146d69e84916d024697947821655
tree47f4e35f19cc7e3471e45a5677bf053864515a93
parent93ddefbc3c909bb6c3b76086f1dfc8ad98dd3725
configure, meson: move CPU_CFLAGS out of QEMU_CFLAGS

Flags that choose the target architecture, such as -m32 on x86, affect
all invocations of the compiler driver, for example including options
such as --print-search-dirs.  To ensure that they are treated as such,
place them in the cross file in the [binaries] section instead of
including them in QEMU_CFLAGS.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure