mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-25 11:57:36 -08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user