From c31c11cad914503dd0197e14dc5f7d6a335be701 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Mon, 24 Oct 2022 15:05:56 +0200 Subject: [PATCH] main/hello-world-rust: allow textrels on riscv64 (MR 3584) [ci:skip-vercheck] [ci:skip-build]: already built successfully in CI --- main/hello-world-rust/APKBUILD | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/hello-world-rust/APKBUILD b/main/hello-world-rust/APKBUILD index 65161a4cd..78fc1eb51 100644 --- a/main/hello-world-rust/APKBUILD +++ b/main/hello-world-rust/APKBUILD @@ -9,6 +9,8 @@ license="Unlicense" makedepends="cargo" source="https://gitlab.com/ollieparanoid/hello-world-rust/-/archive/$pkgver/hello-world-rust-$pkgver.tar.bz2" +[ "$CARCH" = "riscv64" ] && options="$options textrels" + build() { cargo build --release --locked }