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:
parent
8029ed0762
commit
c31c11cad9
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue