mirror of
				https://github.com/vlang/v.git
				synced 2023-08-10 21:13:21 +03:00 
			
		
		
		
	ci: add -lpthread on FreeBSD's makefile
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@@ -4,7 +4,7 @@ VFLAGS ?=
 | 
			
		||||
all:
 | 
			
		||||
	rm -rf vc/
 | 
			
		||||
	git clone --depth 1 --quiet https://github.com/vlang/vc
 | 
			
		||||
	$(CC) -std=gnu11 -w -I ./thirdparty/stdatomic/nix -o v1 vc/v.c -lm -lexecinfo
 | 
			
		||||
	$(CC) -std=gnu11 -w -I ./thirdparty/stdatomic/nix -o v1 vc/v.c -lm -lexecinfo -lpthread
 | 
			
		||||
	./v1 -no-parallel -o v2 $(VFLAGS) cmd/v
 | 
			
		||||
	./v2 -o v $(VFLAGS) cmd/v
 | 
			
		||||
	rm -rf v1 v2 vc/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user