On 12/16/21 09:51, Paolo Bonzini wrote:
> The only difference between the two, as far as either configure or
> Meson are concerned, is in the multilib flags passed to the compiler.
>
> For QEMU, this fixes the handling of TYPE_OLDDEVT in
> include/exec/user/thunk.h and enables testing of dirty ring buffer,
> because both are using HOST_X86_64.
>
> For tests/tcg, this means that on a hypothetical x32 host the
> cross compiler will not be used to build the tests.
Why not add the cross compiler definitions to tests/tcg?
+: ${cross_cc_x32="$cross_cc_x86_64"}
+: ${cross_cc_cflags_x32="-mx32"}
> Signed-off-by: Paolo Bonzini <[email protected]>
> ---
> configure | 6 ++----
> meson.build | 3 +--
> 2 files changed, 3 insertions(+), 6 deletions(-)