dev-lang/rust: pass static-libstdcpp = false for libcxx build

Bug: https://bugs.gentoo.org/732632
Thanks-to: Jonas Rakebrandt <xarblu@protonmail.com>
Tested-by: Manuel Nickschas <sputnick@quassel-irc.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
This commit is contained in:
Georgy Yakovlev
2022-05-31 10:43:50 -07:00
parent d4963c3c6e
commit 1eec1bfb2d
+4 -1
View File
@@ -327,7 +327,10 @@ src_configure() {
targets = "${LLVM_TARGETS// /;}"
experimental-targets = ""
link-shared = $(toml_usex system-llvm)
use-libcxx = ${use_libcxx}
$(if [[ ${use_libcxx} == true ]]; then
echo "use-libcxx = true"
echo "static-libstdcpp = false"
fi)
$(case "${rust_target}" in
i586-*-linux-*)
# https://github.com/rust-lang/rust/issues/93059