From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 50E9D1584AD for ; Sat, 26 Apr 2025 18:03:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 17C9D34308F for ; Sat, 26 Apr 2025 18:03:35 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 18E371102A2; Sat, 26 Apr 2025 18:03:34 +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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0B0B41102A2 for ; Sat, 26 Apr 2025 18:03:34 +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 B2AF5343083 for ; Sat, 26 Apr 2025 18:03:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E203159F for ; Sat, 26 Apr 2025 18:03:32 +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: <1745690583.52d3c7d126947f699095a771dfb3f8eea15ae12f.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: 52d3c7d126947f699095a771dfb3f8eea15ae12f X-VCS-Branch: master Date: Sat, 26 Apr 2025 18:03:32 +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: e6b302f7-a76a-4740-a0bb-e919f76ea3e0 X-Archives-Hash: aa74766f599c1813a1eafcd995be6469 commit: 52d3c7d126947f699095a771dfb3f8eea15ae12f Author: Sam James gentoo org> AuthorDate: Sat Apr 26 18:02:06 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 26 18:03:03 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52d3c7d1 toolchain.eclass: log more *FLAGS vars * Log STAGE{1,2,3}_${var}, BOOT_${var}, ${var}_FOR_{TARGET,BUILD}. * Only show the flag if it's non-empty. Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 01106d8923f4..cb697c3c8813 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1191,7 +1191,25 @@ toolchain_src_configure() { local flag for flag in $(all-flag-vars) ; do - einfo "${flag}=\"${!flag}\"" + [[ -n ${!flag} ]] && einfo "${flag}=\"${!flag}\"" + + local stage_flag="STAGE1_${flag}" + [[ -n ${!stage_flag} ]] && einfo "${stage_flag}=\"${!stage_flag}\"" + + stage_flag="STAGE2_${flag}" + [[ -n ${!stage_flag} ]] && einfo "${stage_flag}=\"${!stage_flag}\"" + + stage_flag="STAGE3_${flag}" + [[ -n ${!stage_flag} ]] && einfo "${stage_flag}=\"${!stage_flag}\"" + + local boot_flag="BOOT_${flag}" + [[ -n ${!boot_flag} ]] && einfo "${boot_flag}=\"${!boot_flag}\"" + + local target_flag="${flag}_FOR_TARGET" + [[ -n ${!target_flag} ]] && einfo "${target_flag}=\"${!target_flag}\"" + + local build_flag="${flag}_FOR_BUILD" + [[ -n ${!build_flag} ]] && einfo "${build_flag}=\"${!build_flag}\"" done local confgcc=( --host=${CHOST} )