aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJoelle van Dyne <j@getutm.app>2021-01-25 17:24:54 -0800
committerPeter Maydell <peter.maydell@linaro.org>2021-01-29 10:47:28 +0000
commitf6bca9dff5c9ae3a5afc4678866080ccd5120318 (patch)
treec346bf6cc54a4f4e479582611064f10805fe2249 /configure
parent0ca321eaf643ea432c4d2bd5a3f0177798a52542 (diff)
downloadqemu-f6bca9dff5c9ae3a5afc4678866080ccd5120318.zip
qemu-f6bca9dff5c9ae3a5afc4678866080ccd5120318.tar.gz
qemu-f6bca9dff5c9ae3a5afc4678866080ccd5120318.tar.bz2
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index e520a43..5cf075a 100755
--- a/configure
+++ b/configure
@@ -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
;;