Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
bonzini committed Sep 7, 2023
1 parent a24f15d commit b3403ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion configure
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/tcg/tricore/Makefile.softmmu-target
Expand Up @@ -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 $@ $<
Expand Down

0 comments on commit b3403ed

Please sign in to comment.