summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2024-08-05 00:33:03 +0200
committerJakov Smolić <jsmolic@gentoo.org>2024-08-05 00:33:59 +0200
commitab7d40fe37c02a216ddb1b5065f40d08d6dec1d9 (patch)
treec81062547204ab2a238c9cf1711993ad6bf47765 /sci-libs/openlibm
parentnet-dns/nsd: Fix an autoconf check in simdzone src (diff)
downloadgentoo-ab7d40fe37c02a216ddb1b5065f40d08d6dec1d9.tar.gz
gentoo-ab7d40fe37c02a216ddb1b5065f40d08d6dec1d9.tar.bz2
gentoo-ab7d40fe37c02a216ddb1b5065f40d08d6dec1d9.zip
sci-libs/openlibm: Enable building on riscv
Closes: https://bugs.gentoo.org/937338 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sci-libs/openlibm')
-rw-r--r--sci-libs/openlibm/openlibm-0.8.3.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/sci-libs/openlibm/openlibm-0.8.3.ebuild b/sci-libs/openlibm/openlibm-0.8.3.ebuild
index ca42e2a13e3b..010cbf9f61d1 100644
--- a/sci-libs/openlibm/openlibm-0.8.3.ebuild
+++ b/sci-libs/openlibm/openlibm-0.8.3.ebuild
@@ -29,6 +29,8 @@ src_prepare() {
src_configure() {
tc-export CC CXX FC AR LD
+ # Build system uses the riscv64 arch variable
+ use riscv && export ARCH=riscv64
default
}