mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
compiler: use -lpthread during building v itself.
This commit is contained in:
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
|
||||
|
Reference in New Issue
Block a user