From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 334A2158091 for ; Tue, 31 May 2022 17:45:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 719B6E0858; Tue, 31 May 2022 17:45:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5134BE0858 for ; Tue, 31 May 2022 17:45:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2232F341524 for ; Tue, 31 May 2022 17:45:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BC023C7 for ; Tue, 31 May 2022 17:45:23 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1654019030.1eec1bfb2d551241c3d4e67ecacf2f0c89e76632.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/rust/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/rust/rust-1.61.0-r1.ebuild X-VCS-Directories: dev-lang/rust/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 1eec1bfb2d551241c3d4e67ecacf2f0c89e76632 X-VCS-Branch: master Date: Tue, 31 May 2022 17:45:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8676d76a-719b-45fd-b0db-7a8e367c8c96 X-Archives-Hash: c1628b3e9c330702daa8246a15288796 commit: 1eec1bfb2d551241c3d4e67ecacf2f0c89e76632 Author: Georgy Yakovlev gentoo org> AuthorDate: Tue May 31 17:42:51 2022 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Tue May 31 17:43:50 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1eec1bfb dev-lang/rust: pass static-libstdcpp = false for libcxx build Bug: https://bugs.gentoo.org/732632 Thanks-to: Jonas Rakebrandt protonmail.com> Tested-by: Manuel Nickschas quassel-irc.org> Signed-off-by: Georgy Yakovlev gentoo.org> dev-lang/rust/rust-1.61.0-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-lang/rust/rust-1.61.0-r1.ebuild b/dev-lang/rust/rust-1.61.0-r1.ebuild index 250c7e2f1db2..40bfa3387e3e 100644 --- a/dev-lang/rust/rust-1.61.0-r1.ebuild +++ b/dev-lang/rust/rust-1.61.0-r1.ebuild @@ -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