configure: remove HOST_CC
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Jul 2023 07:06:15 +0000 (09:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Sep 2023 11:32:14 +0000 (13:32 +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
tests/tcg/tricore/Makefile.softmmu-target

index b9af8282293d73cab2b5884bc855ac27b6421f8c..7743c18f2fe312b899bfee2f80141ed100e19c1e 100755 (executable)
--- 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
index aff7c1b5802b46989663de02d38c30c83c6a1cb6..2ec0bd3622574fbd6d72ad135cf838b9a41a62ec 100644 (file)
@@ -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 $@ $<