mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
compiler: use -lpthread during building v itself.
This commit is contained in:
parent
27644333a8
commit
7a4f26ac4f
4 changed files with 9 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -48,7 +48,7 @@ ifdef WIN32
|
|||
$(CC) $(CFLAGS) -g -std=c99 -municode -w -o v.exe $(TMPVC)/$(VCFILE) $(LDFLAGS)
|
||||
./v.exe self
|
||||
else
|
||||
$(CC) $(CFLAGS) -g -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm
|
||||
$(CC) $(CFLAGS) -g -std=gnu11 -w -o v $(TMPVC)/$(VCFILE) $(LDFLAGS) -lm -lpthread
|
||||
ifdef ANDROID
|
||||
chmod 755 v
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue