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

vc: fix Makefile

This commit is contained in:
Delyan Angelov 2021-03-24 19:04:01 +02:00
parent bb1485745f
commit 49c770ea7b
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -83,7 +83,7 @@ ifdef WIN32
$(V) -o v2.exe cmd/v $(V) -o v2.exe cmd/v
move /y v2.exe v.exe move /y v2.exe v.exe
else else
sed -i '9350s@^.*@u64 _t9 = wyhash(key, len, seed, _wyp);@' v.c sed -i '9350s@^.*@u64 _t9 = wyhash(key, len, seed, _wyp);@' vc/v.c
$(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) -o v2.exe cmd/v $(V) -o v2.exe cmd/v
mv -f v2.exe v mv -f v2.exe v