Skip to content

Commit

Permalink
GNUmakefile: do not try to check how tcc is working, when thirdparty/…
Browse files Browse the repository at this point in the history
…tcc/tcc.exe is not present (#22226)
  • Loading branch information
lcheylus authored Sep 15, 2024
1 parent deb7ddd commit 9b88dc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ fresh_vc:
ifndef local
latest_tcc: $(TMPTCC)/.git/config
cd $(TMPTCC) && $(GITCLEANPULL)
ifneq (,$(wildcard ./tcc.exe))
@$(MAKE) --quiet check_for_working_tcc 2> /dev/null
endif

else
latest_tcc:
@echo "Using local tcc"
Expand All @@ -161,7 +164,6 @@ ifneq (,$(findstring thirdparty-$(TCCOS)-$(TCCARCH), $(shell git ls-remote --hea
else
@echo 'Pre-built TCC not available for thirdparty-$(TCCOS)-$(TCCARCH) at $(TCCREPO), will use the system compiler: $(CC)'
$(GITFASTCLONE) --branch thirdparty-unknown-unknown $(TCCREPO) $(TMPTCC)
@$(MAKE) --quiet check_for_working_tcc 2> /dev/null
endif
else
@echo "Using local tccbin"
Expand Down

0 comments on commit 9b88dc8

Please sign in to comment.