CI: do not use `v self` temporarily, till vc is regenerated

pull/9441/head
Delyan Angelov 2021-03-23 14:58:29 +02:00
parent 11e1f42193
commit a4690e4ce2
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
1 changed files with 4 additions and 2 deletions

View File

@ -80,10 +80,12 @@ endif
all: latest_vc latest_tcc
ifdef WIN32
$(CC) $(CFLAGS) -g -std=c99 -municode -w -o $(V) $(VC)/$(VCFILE) $(LDFLAGS)
$(V) self
$(V) -o v2.exe cmd/v
move /y v2.exe v.exe
else
$(CC) $(CFLAGS) -g -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS)
$(V) self
$(V) -o v2.exe cmd/v
mv -f v2.exe v
endif
@echo "V has been successfully built"
@$(V) -version