meson: Unify mips and mips64 in host_arch
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>
This commit is contained in:
parent
69f153667f
commit
0e3ed77de5
@ -74,6 +74,8 @@ if cpu not in supported_cpus
|
|||||||
host_arch = 'unknown'
|
host_arch = 'unknown'
|
||||||
elif cpu == 'x86'
|
elif cpu == 'x86'
|
||||||
host_arch = 'i386'
|
host_arch = 'i386'
|
||||||
|
elif cpu == 'mips64'
|
||||||
|
host_arch = 'mips'
|
||||||
else
|
else
|
||||||
host_arch = cpu
|
host_arch = cpu
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user