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

use tcc on linux by default

This commit is contained in:
Alexander Medvednikov
2019-10-12 16:05:24 +03:00
parent efe03a39cc
commit 9845fade89
2 changed files with 18 additions and 2 deletions

View File

@@ -16,6 +16,8 @@ ifdef WIN32
./v0.exe -o v.exe compiler
rm -f v0.exe
else
git clone --depth 1 --quiet https://github.com/vmisc/tccbin /var/tmp/tcc
$(CC) -std=gnu11 -w -o v vc/v.c -lm
@(VC_V=`./v version | cut -f 3 -d " "`; \
V_V=`git rev-parse --short HEAD`; \