[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 20/25] tests/tcg: fix non-static build
From: |
Alex Bennée |
Subject: |
[PATCH v1 20/25] tests/tcg: fix non-static build |
Date: |
Tue, 19 Apr 2022 10:10:15 +0100 |
From: Paolo Bonzini <pbonzini@redhat.com>
If linking with -static fails at configure time, -static should not be used
at build time either. Do not include BUILD_STATIC in $config_target_mak.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20220401141326.1244422-18-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/tcg/configure.sh | 1 -
1 file changed, 1 deletion(-)
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index 75603fee6d..691d90abac 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh
@@ -261,7 +261,6 @@ for target in $target_list; do
if do_compiler "$target_compiler" $target_compiler_cflags \
-o $TMPE $TMPC ; then
got_cross_cc=yes
- echo "BUILD_STATIC=y" >> $config_target_mak
echo "CC=$target_compiler" >> $config_target_mak
fi
else
--
2.30.2
- [PATCH v1 09/25] tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES), (continued)
- [PATCH v1 09/25] tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES), Alex Bennée, 2022/04/19
- [PATCH v1 14/25] tests/tcg: remove CONFIG_USER_ONLY from config-target.mak, Alex Bennée, 2022/04/19
- [PATCH v1 12/25] tests/tcg: add compiler test variables when using containers, Alex Bennée, 2022/04/19
- [PATCH v1 08/25] tests/docker: inline variable definitions or move close to use, Alex Bennée, 2022/04/19
- [PATCH v1 18/25] tests/tcg: isolate from QEMU's config-host.mak, Alex Bennée, 2022/04/19
- [PATCH v1 20/25] tests/tcg: fix non-static build,
Alex Bennée <=
- [PATCH v1 16/25] tests/tcg: list test targets in Makefile.prereqs, Alex Bennée, 2022/04/19
- [PATCH v1 19/25] tests/docker: remove SKIP_DOCKER_BUILD, Alex Bennée, 2022/04/19
- [PATCH v1 15/25] tests/tcg: prepare Makefile.prereqs at configure time, Alex Bennée, 2022/04/19
- [PATCH v1 17/25] tests/tcg: invoke Makefile.target directly from QEMU's makefile, Alex Bennée, 2022/04/19
- [PATCH v1 25/25] tests/guest-debug: better handle gdb crashes, Alex Bennée, 2022/04/19