[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 02/12] configure: add missing cross compiler fallbacks
From: |
Paolo Bonzini |
Subject: |
[RFC PATCH 02/12] configure: add missing cross compiler fallbacks |
Date: |
Fri, 29 Apr 2022 16:18:03 +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 5d136492f8..a208459ff1 100755
--- a/configure
+++ b/configure
@@ -1845,6 +1845,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"}
@@ -1867,9 +1868,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 -mv8plus -mcpu=ultrasparc"}
: ${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 -mv8plus -mcpu=ultrasparc"}
: ${cross_cc_x86_64="x86_64-linux-gnu-gcc"}
: ${cross_cc_cflags_x86_64="-m64"}
--
2.35.1
- [RFC PATCH 00/12] Cross compilation of embedded firmware, Paolo Bonzini, 2022/04/29
- [RFC PATCH 03/12] configure: handle host compiler in probe_target_compiler, Paolo Bonzini, 2022/04/29
- [RFC PATCH 10/12] pc-bios/optionrom: compile with -Wno-array-bounds, Paolo Bonzini, 2022/04/29
- [RFC PATCH 12/12] configure: enable cross compilation of vof, Paolo Bonzini, 2022/04/29
- [RFC PATCH 02/12] configure: add missing cross compiler fallbacks,
Paolo Bonzini <=
- [RFC PATCH 01/12] tests/tcg: merge configure.sh back into main configure script, Paolo Bonzini, 2022/04/29
- [RFC PATCH 04/12] configure: introduce --cross-prefix-*=, Paolo Bonzini, 2022/04/29
- [RFC PATCH 06/12] configure, meson: move symlinking of ROMs to meson, Paolo Bonzini, 2022/04/29
- [RFC PATCH 05/12] configure: include more binutils in tests/tcg makefile, Paolo Bonzini, 2022/04/29
- [RFC PATCH 07/12] configure: move symlink configuration earlier, Paolo Bonzini, 2022/04/29