summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-27 17:46:15 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-27 18:07:43 +0300
commita9d5d7800e5a8d6ebf9d2defee6ea2b4f67780f4 (patch)
treea2df0535e818b55b64e3c71d69b35dcf1a91e8e0 /dev-lang
parentdev-python/hidapi: enable py3.13 (diff)
downloadgentoo-a9d5d7800e5a8d6ebf9d2defee6ea2b4f67780f4.tar.gz
gentoo-a9d5d7800e5a8d6ebf9d2defee6ea2b4f67780f4.tar.bz2
gentoo-a9d5d7800e5a8d6ebf9d2defee6ea2b4f67780f4.zip
dev-lang/rust: fix cross compilation for musl
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/rust-1.79.0.ebuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/dev-lang/rust/rust-1.79.0.ebuild b/dev-lang/rust/rust-1.79.0.ebuild
index 2cdde5c12fdc..e92cb50b5f17 100644
--- a/dev-lang/rust/rust-1.79.0.ebuild
+++ b/dev-lang/rust/rust-1.79.0.ebuild
@@ -499,6 +499,7 @@ src_configure() {
if use elibc_musl; then
cat <<- _EOF_ >> "${S}"/config.toml
crt-static = false
+ musl-root = "$($(tc-getCC) -print-sysroot)/usr"
_EOF_
fi
done