From f6bca9dff5c9ae3a5afc4678866080ccd5120318 Mon Sep 17 00:00:00 2001 From: Joelle van Dyne Date: Mon, 25 Jan 2021 17:24:54 -0800 Subject: configure: cross compile should use x86_64 cpu_family Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Joelle van Dyne Message-id: 20210126012457.39046-9-j@getutm.app Signed-off-by: Peter Maydell --- configure | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index e520a43406..5cf075ac60 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 ;; -- cgit v1.2.3-55-g7522