rust: fixes for 1.55 needing llvm to link
This commit is contained in:
		
							parent
							
								
									31d9629111
								
							
						
					
					
						commit
						52b51c90b8
					
				
					 1 changed files with 2 additions and 5 deletions
				
			
		|  | @ -21,8 +21,8 @@ _clear_vendor_checksums() { | |||
| 	sed -i 's/\("files":{\)[^}]*/\1/' vendor/$1/.cargo-checksum.json | ||||
| } | ||||
| 
 | ||||
| # export RUSTROOT="/usr" | ||||
| export RUSTROOT="/usr/src/rust-bootstrap/build/rust-root" | ||||
| export RUSTROOT="/usr" | ||||
| # export RUSTROOT="/usr/src/rust-bootstrap/build/rust-root" | ||||
| 
 | ||||
| fetch() { | ||||
| 	curl "https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz" -o $pkgname-$pkgver.tar.xz | ||||
|  | @ -47,10 +47,7 @@ fetch() { | |||
| 	_clear_vendor_checksums openssl-src | ||||
| 	_clear_vendor_checksums openssl | ||||
| 
 | ||||
| 	rm -rf src/llvm-project/ | ||||
| 
 | ||||
| 	cd .. | ||||
| 	ln -s /usr/bin/gmake make | ||||
| } | ||||
| 
 | ||||
| build() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue