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:
Joelle van Dyne
2021-01-29 10:47:28 +00:00
committed by Peter Maydell
parent 0ca321eaf6
commit f6bca9dff5
Vendored
+4 -1
View File
@@ -6305,9 +6305,12 @@ if test "$cross_compile" = "yes"; then
echo "system = 'darwin'" >> $cross
fi
case "$ARCH" in
i386|x86_64)
i386)
echo "cpu_family = 'x86'" >> $cross
;;
x86_64)
echo "cpu_family = 'x86_64'" >> $cross
;;
ppc64le)
echo "cpu_family = 'ppc64'" >> $cross
;;