aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2023-07-04 09:06:15 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2023-09-07 13:32:14 +0200
commitb3403ed00b0dbf14a77d6a7be797861e7b7f4907 (patch)
tree4febd6c2336c35aa672d9a9a22efc5c0719c6e89
parenta24f15d26f8cf0c0533c3422bebc70305626fc14 (diff)
downloadqemu-b3403ed00b0dbf14a77d6a7be797861e7b7f4907.zip
qemu-b3403ed00b0dbf14a77d6a7be797861e7b7f4907.tar.gz
qemu-b3403ed00b0dbf14a77d6a7be797861e7b7f4907.tar.bz2
configure: remove HOST_CC
$(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>
-rwxr-xr-xconfigure1
-rw-r--r--tests/tcg/tricore/Makefile.softmmu-target2
2 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index b9af828..7743c18 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 aff7c1b..2ec0bd3 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 $@ $<