mirror of
https://github.com/vlang/v.git
synced 2025-09-13 22:42:26 +03:00
GNUmakefile: do not try to check how tcc is working, when thirdparty/tcc/tcc.exe is not present (#22226)
This commit is contained in:
parent
deb7ddd9d0
commit
9b88dc8deb
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue