]> git.proxmox.com Git - mirror_qemu.git/commitdiff
meson: Unify mips and mips64 in host_arch
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 31 Dec 2021 05:25:11 +0000 (05:25 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 31 Dec 2021 05:37:35 +0000 (21:37 -0800)
Fixes the build on a mips64 host.  Prior to the break, we identified
the arch via the __mips__ define; afterward we use meson's
host_machine.cpu_family().  Restore the previous combination.

Fixes: 823eb013452e ("configure, meson: move ARCH to meson.build")
Reported-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
meson.build

index 886f0a93432dda03749f7726ce4374d21afcdb9a..53065e96ecfa5e6c100ffaf90ffa038b962aeef3 100644 (file)
@@ -74,6 +74,8 @@ if cpu not in supported_cpus
   host_arch = 'unknown'
 elif cpu == 'x86'
   host_arch = 'i386'
+elif cpu == 'mips64'
+  host_arch = 'mips'
 else
   host_arch = cpu
 endif