mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-07-21 10:24:33 +00:00
configure: cross compile should use x86_64 cpu_family
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Joelle van Dyne <j@getutm.app> Message-id: 20210126012457.39046-9-j@getutm.app Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
0ca321eaf6
commit
f6bca9dff5
5
configure
vendored
5
configure
vendored
|
@ -6305,9 +6305,12 @@ if test "$cross_compile" = "yes"; then
|
||||||
echo "system = 'darwin'" >> $cross
|
echo "system = 'darwin'" >> $cross
|
||||||
fi
|
fi
|
||||||
case "$ARCH" in
|
case "$ARCH" in
|
||||||
i386|x86_64)
|
i386)
|
||||||
echo "cpu_family = 'x86'" >> $cross
|
echo "cpu_family = 'x86'" >> $cross
|
||||||
;;
|
;;
|
||||||
|
x86_64)
|
||||||
|
echo "cpu_family = 'x86_64'" >> $cross
|
||||||
|
;;
|
||||||
ppc64le)
|
ppc64le)
|
||||||
echo "cpu_family = 'ppc64'" >> $cross
|
echo "cpu_family = 'ppc64'" >> $cross
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue