main/hello-world-rust: allow textrels on riscv64 (MR 3584)

[ci:skip-vercheck]
[ci:skip-build]: already built successfully in CI
This commit is contained in:
Luca Weiss 2022-10-24 15:05:56 +02:00 committed by Oliver Smith
parent 8029ed0762
commit c31c11cad9
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -9,6 +9,8 @@ license="Unlicense"
makedepends="cargo" makedepends="cargo"
source="https://gitlab.com/ollieparanoid/hello-world-rust/-/archive/$pkgver/hello-world-rust-$pkgver.tar.bz2" source="https://gitlab.com/ollieparanoid/hello-world-rust/-/archive/$pkgver/hello-world-rust-$pkgver.tar.bz2"
[ "$CARCH" = "riscv64" ] && options="$options textrels"
build() { build() {
cargo build --release --locked cargo build --release --locked
} }