1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

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

This commit is contained in:
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

View File

@ -80,10 +80,12 @@ endif
all: latest_vc latest_tcc all: latest_vc latest_tcc
ifdef WIN32 ifdef WIN32
$(CC) $(CFLAGS) -g -std=c99 -municode -w -o $(V) $(VC)/$(VCFILE) $(LDFLAGS) $(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 else
$(CC) $(CFLAGS) -g -std=gnu99 -w -o $(V) $(VC)/$(VCFILE) -lm -lpthread $(LDFLAGS) $(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 endif
@echo "V has been successfully built" @echo "V has been successfully built"
@$(V) -version @$(V) -version