rust: fixes for 1.55 needing llvm to link

This commit is contained in:
Ella-0 2021-08-03 22:18:53 +00:00
parent 31d9629111
commit 52b51c90b8

View file

@ -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() {