[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/16] configure: add missing cross compiler fallbacks
From: |
Paolo Bonzini |
Subject: |
[PATCH 08/16] configure: add missing cross compiler fallbacks |
Date: |
Tue, 17 May 2022 11:26:08 +0200 |
The arm compiler can be used for armeb, and the sparc64 compiler
can be used for sparc.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 90cb477c90..1d9d60185c 100755
--- a/configure
+++ b/configure
@@ -1840,6 +1840,7 @@ fi
: ${cross_cc_cflags_aarch64_be="-mbig-endian"}
: ${cross_cc_alpha="alpha-linux-gnu-gcc"}
: ${cross_cc_arm="arm-linux-gnueabihf-gcc"}
+: ${cross_cc_armeb="$cross_cc_arm"}
: ${cross_cc_cflags_armeb="-mbig-endian"}
: ${cross_cc_hexagon="hexagon-unknown-linux-musl-clang"}
: ${cross_cc_cflags_hexagon="-mv67 -O2 -static"}
@@ -1862,9 +1863,10 @@ fi
: ${cross_cc_riscv64="riscv64-linux-gnu-gcc"}
: ${cross_cc_s390x="s390x-linux-gnu-gcc"}
: ${cross_cc_sh4="sh4-linux-gnu-gcc"}
-: ${cross_cc_cflags_sparc="-m32 -mcpu=supersparc"}
: ${cross_cc_sparc64="sparc64-linux-gnu-gcc"}
: ${cross_cc_cflags_sparc64="-m64 -mcpu=ultrasparc"}
+: ${cross_cc_sparc="$cross_cc_sparc64"}
+: ${cross_cc_cflags_sparc="-m32 -mcpu=supersparc"}
: ${cross_cc_x86_64="x86_64-linux-gnu-gcc"}
: ${cross_cc_cflags_x86_64="-m64"}
--
2.36.0
- Re: [PATCH 04/16] build: do a full build before running TCG tests, (continued)
- [PATCH 06/16] tests/tcg: correct target CPU for sparc32, Paolo Bonzini, 2022/05/17
- [PATCH 05/16] configure, meson: move symlinking of ROMs to meson, Paolo Bonzini, 2022/05/17
- [PATCH 07/16] tests/tcg: merge configure.sh back into main configure script, Paolo Bonzini, 2022/05/17
- [PATCH 09/16] configure: handle host compiler in probe_target_compiler, Paolo Bonzini, 2022/05/17
- [PATCH 10/16] configure: introduce --cross-prefix-*=, Paolo Bonzini, 2022/05/17
- [PATCH 11/16] configure: include more binutils in tests/tcg makefile, Paolo Bonzini, 2022/05/17
- [PATCH 08/16] configure: add missing cross compiler fallbacks,
Paolo Bonzini <=
- [PATCH 12/16] configure: move symlink configuration earlier, Paolo Bonzini, 2022/05/17
- [PATCH 14/16] configure: enable cross-compilation of optionrom, Paolo Bonzini, 2022/05/17
- [PATCH 16/16] configure: remove unused variables from config-host.mak, Paolo Bonzini, 2022/05/17
- [PATCH 13/16] configure: enable cross-compilation of s390-ccw, Paolo Bonzini, 2022/05/17
- [PATCH 15/16] configure: enable cross compilation of vof, Paolo Bonzini, 2022/05/17
- Re: [PATCH 00/16] Cross compilation of embedded firmware, Alex Bennée, 2022/05/24
- Re: [PATCH 00/16] Cross compilation of embedded firmware, Alex Bennée, 2022/05/26