Re: [PATCH] configure: Fix linux-user host detection for ppc64le

2023-08-07 Thread Paolo Bonzini
On 8/7/23 10:39, Joel Stanley wrote: -case "$cpu" in - riscv*) -host_arch=riscv ;; - *) -host_arch="$cpu" ;; -esac - # Normalise host CPU name and set multilib cflags. The canonicalization # isn't really necessary, because the architectures that we check for # should not hit t

[PATCH] configure: Fix linux-user host detection for ppc64le

2023-08-07 Thread Joel Stanley
Revert the changes in the recent "Fix linux-user host detection for riscv64" patch as it broke ppc64le. Instead add riscv to the switch statement that performs normalisation of the host cpu name. Fixes: 89e5b7935e92 ("configure: Fix linux-user host detection for riscv64") Signed-off-by: Joel Stanl