[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 03/15] configure: remove HOST_CC
From: |
Paolo Bonzini |
Subject: |
[PATCH 03/15] configure: remove HOST_CC |
Date: |
Sat, 2 Sep 2023 14:59:22 +0200 |
$(HOST_CC) is only used to invoke the preprocessor, and $(CC) can be
used instead now that there is a Tricore C compiler. Remove the variable
from config-host.mak.
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
configure | 1 -
tests/tcg/tricore/Makefile.softmmu-target | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/configure b/configure
index b9af8282293..7743c18f2fe 100755
--- a/configure
+++ b/configure
@@ -1800,7 +1800,6 @@ fi
mkdir -p tests/tcg
echo "# Automatically generated by configure - do not modify" >
$config_host_mak
echo "SRC_PATH=$source_path" >> $config_host_mak
-echo "HOST_CC=$host_cc" >> $config_host_mak
# versioned checked in the main config_host.mak above
if test -n "$gdb_bin"; then
diff --git a/tests/tcg/tricore/Makefile.softmmu-target
b/tests/tcg/tricore/Makefile.softmmu-target
index aff7c1b5802..2ec0bd36225 100644
--- a/tests/tcg/tricore/Makefile.softmmu-target
+++ b/tests/tcg/tricore/Makefile.softmmu-target
@@ -28,7 +28,7 @@ TESTS += test_context_save_areas.c.tst
QEMU_OPTS += -M tricore_testboard -cpu tc27x -nographic -kernel
%.pS: $(ASM_TESTS_PATH)/%.S
- $(HOST_CC) -E -o $@ $<
+ $(CC) -E -o $@ $<
%.o: %.pS
$(AS) $(ASFLAGS) -o $@ $<
--
2.41.0
- [PATCH v2 00/15] configure cleanups for QEMU 8.2, Paolo Bonzini, 2023/09/02
- [PATCH 01/15] meson: do not unnecessarily use cmake for dependencies, Paolo Bonzini, 2023/09/02
- [PATCH 02/15] meson: update unsupported host/CPU messages, Paolo Bonzini, 2023/09/02
- [PATCH 03/15] configure: remove HOST_CC,
Paolo Bonzini <=
- [PATCH 04/15] configure: create native file with contents of $host_cc, Paolo Bonzini, 2023/09/02
- [PATCH 05/15] meson: compile bundled device trees, Paolo Bonzini, 2023/09/02
- [PATCH 06/15] configure: remove boolean variables for targets, Paolo Bonzini, 2023/09/02
- [PATCH 07/15] configure: move --enable-debug-tcg to meson, Paolo Bonzini, 2023/09/02
- [PATCH 08/15] meson: test for CONFIG_TCG in config_all, Paolo Bonzini, 2023/09/02
- [PATCH 09/15] contrib/plugins: use an independent makefile, Paolo Bonzini, 2023/09/02
- [PATCH 10/15] configure: unify recursion into sub-Makefiles, Paolo Bonzini, 2023/09/02