community/rust: fix

This commit is contained in:
Kevin Mihelich 2018-10-21 06:02:48 +00:00
parent 500ec8cdda
commit 002d36e964
2 changed files with 11 additions and 1 deletions

View file

@ -6,6 +6,7 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - add a link to g++ to compensate for broken cross-compiler decisions
# - build v6/v7 with -j2 - RAM constraints
# - set llvm-config in config.toml for ARM architectures
buildarch=28
highmem=1
@ -32,7 +33,7 @@ source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
sha256sums=('f1b0728b66ce6bce6d72bbe5ea9e3a24ea22a045665da2ed8fcdfad14f61a349'
'SKIP'
'ce1c2648e70a14362d33d0cbbd3e35846ea9d43a8d0abc36071563fc087b82d5')
'd5fa9de70ea2b0a3df5b6c28940a32625c5f748d717d53d53f8dde8456d1350b')
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
prepare() {

View file

@ -25,3 +25,12 @@ rpath = false
[target.x86_64-unknown-linux-gnu]
llvm-config = "/usr/bin/llvm-config"
[target.aarch64-unknown-linux-gnu]
llvm-config = "/usr/bin/llvm-config"
[target.armv7-unknown-linux-gnueabihf]
llvm-config = "/usr/bin/llvm-config"
[target.armv6-unknown-linux-gnueabihf]
llvm-config = "/usr/bin/llvm-config"