[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 30/30] configure: use cc, not host_cc to set cross_cc for bui
From: |
Alex Bennée |
Subject: |
[PATCH v2 30/30] configure: use cc, not host_cc to set cross_cc for build arch |
Date: |
Tue, 4 May 2021 11:02:23 +0100 |
Otherwise you run into hilarity like trying when cross compiling a 32
bit ARM build on a 64 bit system trying to use host_cc to build 32 bit
test cases.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index bb86c72479..aef53cd8bb 100755
--- a/configure
+++ b/configure
@@ -1648,7 +1648,7 @@ case "$cpu" in
# No special flags required for other host CPUs
esac
-eval "cross_cc_${cpu}=\$host_cc"
+eval "cross_cc_${cpu}=\$cc"
cross_cc_vars="$cross_cc_vars cross_cc_${cpu}"
QEMU_CFLAGS="$CPU_CFLAGS $QEMU_CFLAGS"
--
2.20.1
- [PATCH v2 21/30] tests/tcg/tricore: Add fmul test, (continued)
- [PATCH v2 21/30] tests/tcg/tricore: Add fmul test, Alex Bennée, 2021/05/04
- [PATCH v2 14/30] tests/tcg/tricore: Add build infrastructure, Alex Bennée, 2021/05/04
- [PATCH v2 17/30] tests/tcg/tricore: Add bmerge test, Alex Bennée, 2021/05/04
- [PATCH v2 16/30] tests/tcg/tricore: Add macros to create tests and first test 'abs', Alex Bennée, 2021/05/04
- [PATCH v2 28/30] tests/tcg: add a multiarch signals test to stress test signal delivery, Alex Bennée, 2021/05/04
- [PATCH v2 19/30] tests/tcg/tricore: Add dvstep test, Alex Bennée, 2021/05/04
- [PATCH v2 29/30] cirrus.yml: Fix the MSYS2 task, Alex Bennée, 2021/05/04
- [PATCH v2 30/30] configure: use cc, not host_cc to set cross_cc for build arch,
Alex Bennée <=
- [PATCH v2 27/30] tests/tcg/ppc64le: tests for brh/brw/brd, Alex Bennée, 2021/05/04
- [PATCH v2 23/30] tests/tcg/tricore: Add madd test, Alex Bennée, 2021/05/04
- [PATCH v2 20/30] tests/tcg/tricore: Add fadd test, Alex Bennée, 2021/05/04
- [PATCH v2 18/30] tests/tcg/tricore: Add clz test, Alex Bennée, 2021/05/04
- [PATCH v2 26/30] tests/docker: gcc-10 based images for ppc64{, le} tests, Alex Bennée, 2021/05/04
- [PATCH v2 25/30] tests/tcg/tricore: Add muls test, Alex Bennée, 2021/05/04
- [PATCH v2 12/30] tests/tcg: Run timeout cmds using --foreground, Alex Bennée, 2021/05/04
- [PATCH v2 22/30] tests/tcg/tricore: Add ftoi test, Alex Bennée, 2021/05/04
- [PATCH v2 24/30] tests/tcg/tricore: Add msub test, Alex Bennée, 2021/05/04