[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 17/17] tests/tcg: fix non-static build
From: |
Paolo Bonzini |
Subject: |
[PATCH 17/17] tests/tcg: fix non-static build |
Date: |
Fri, 1 Apr 2022 16:13:26 +0200 |
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: <20220328140240.40798-16-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
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.35.1
- [PATCH 05/17] tests/docker: inline variable definitions or move close to use, (continued)
- [PATCH 05/17] tests/docker: inline variable definitions or move close to use, Paolo Bonzini, 2022/04/01
- [PATCH 07/17] tests/docker: simplify docker-TEST@IMAGE targets, Paolo Bonzini, 2022/04/01
- [PATCH 09/17] tests/tcg: add compiler test variables when using containers, Paolo Bonzini, 2022/04/01
- [PATCH 10/17] tests/tcg: remove CONFIG_LINUX_USER from config-target.mak, Paolo Bonzini, 2022/04/01
- [PATCH 11/17] tests/tcg: remove CONFIG_USER_ONLY from config-target.mak, Paolo Bonzini, 2022/04/01
- [PATCH 08/17] tests/docker: do not duplicate rules for hexagon-cross, Paolo Bonzini, 2022/04/01
- [PATCH 12/17] tests/tcg: prepare Makefile.prereqs at configure time, Paolo Bonzini, 2022/04/01
- [PATCH 13/17] tests/tcg: list test targets in Makefile.prereqs, Paolo Bonzini, 2022/04/01
- [PATCH 15/17] tests/tcg: isolate from QEMU's config-host.mak, Paolo Bonzini, 2022/04/01
- [PATCH 16/17] tests/docker: remove SKIP_DOCKER_BUILD, Paolo Bonzini, 2022/04/01
- [PATCH 17/17] tests/tcg: fix non-static build,
Paolo Bonzini <=
- [PATCH 14/17] tests/tcg: invoke Makefile.target directly from QEMU's makefile, Paolo Bonzini, 2022/04/01
- Re: [PATCH 00/17] tests/docker and tests/tcg cleanup and diet, Alex Bennée, 2022/04/11