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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 330D215807A for ; Mon, 7 Oct 2024 04:13:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 092AAE29A8; Mon, 7 Oct 2024 04:13:04 +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 D9605E29A8 for ; Mon, 7 Oct 2024 04:13:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 DA51B343154 for ; Mon, 7 Oct 2024 04:13:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B93C1FBE for ; Mon, 7 Oct 2024 04:13:01 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1728274361.75f0421f54035bd364f3b58de94887831302b02f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 75f0421f54035bd364f3b58de94887831302b02f X-VCS-Branch: master Date: Mon, 7 Oct 2024 04:13:01 +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: 2003b880-abd5-4b36-a8f2-f14f8f1f1ea8 X-Archives-Hash: be236ba3b68358aec1de89e1f6e94f64 commit: 75f0421f54035bd364f3b58de94887831302b02f Author: Andrei Horodniceanu proton me> AuthorDate: Fri Oct 4 08:12:22 2024 +0000 Commit: Sam James gentoo org> CommitDate: Mon Oct 7 04:12:41 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75f0421f toolchain.eclass: Only search for a D installation if D bootstrapping is needed <=gcc-11 doesn't need another gdc to build so don't search for one during the setup. Signed-off-by: Andrei Horodniceanu proton.me> Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 19357b4dfb2d..ff02723e2d90 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1129,9 +1129,12 @@ toolchain_src_configure() { _tc_use_if_iuse ada } + _need_d_bootstrap() { + _tc_use_if_iuse d && [[ ${GCCMAJOR} -ge 12 ]] + } _need_ada_bootstrap_mangling && toolchain_setup_ada - _tc_use_if_iuse d && toolchain_setup_d + _need_d_bootstrap && toolchain_setup_d confgcc+=( --enable-languages=${GCC_LANG} )