mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 12:38:09 -07:00
dev-lang/rust: fix cross compilation for musl
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user