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 3CB8F15852A for ; Fri, 16 Aug 2024 17:21:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2FAF42BC05D; Fri, 16 Aug 2024 17:21:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 17E7A2BC05D for ; Fri, 16 Aug 2024 17:21:50 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B092342FA4 for ; Fri, 16 Aug 2024 17:21:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 844191EF8 for ; Fri, 16 Aug 2024 17:21:46 +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: <1723828880.3c2c0e0c0e7630ff0df17728f40116a95c1f52d4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain-funcs.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 3c2c0e0c0e7630ff0df17728f40116a95c1f52d4 X-VCS-Branch: master Date: Fri, 16 Aug 2024 17:21:46 +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: 346c811a-246c-4955-beb3-e2c23f80d20e X-Archives-Hash: 781db6d2c5d5a471aac00db6babcbeae commit: 3c2c0e0c0e7630ff0df17728f40116a95c1f52d4 Author: Sam James gentoo org> AuthorDate: Fri Aug 16 16:18:39 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Aug 16 17:21:20 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c2c0e0c toolchain-funcs.eclass: use generic filename for linker test At https://github.com/gentoo/gentoo/pull/28355#discussion_r1089883885, juippis points out that for mold, the test might be confused. Let's consistently use 'linker' instead. Signed-off-by: Sam James gentoo.org> eclass/toolchain-funcs.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index 2d65c3fdc146..563eb5e191cf 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -466,7 +466,7 @@ tc-ld-is-bfd() { # Then see if they're selecting bfd via compiler flags. # Note: We're assuming they're using LDFLAGS to hold the # options and not CFLAGS/CXXFLAGS. - local base="${T}/test-tc-bfd" + local base="${T}/test-tc-linker" cat <<-EOF > "${base}.c" int main(void) { return 0; } EOF @@ -501,7 +501,7 @@ tc-ld-is-gold() { # Then see if they're selecting gold via compiler flags. # Note: We're assuming they're using LDFLAGS to hold the # options and not CFLAGS/CXXFLAGS. - local base="${T}/test-tc-gold" + local base="${T}/test-tc-linker" cat <<-EOF > "${base}.c" int main(void) { return 0; } EOF @@ -534,7 +534,7 @@ tc-ld-is-lld() { # Then see if they're selecting lld via compiler flags. # Note: We're assuming they're using LDFLAGS to hold the # options and not CFLAGS/CXXFLAGS. - local base="${T}/test-tc-lld" + local base="${T}/test-tc-linker" cat <<-EOF > "${base}.c" int main(void) { return 0; } EOF @@ -568,7 +568,7 @@ tc-ld-is-mold() { # Then see if they're selecting mold via compiler flags. # Note: We're assuming they're using LDFLAGS to hold the # options and not CFLAGS/CXXFLAGS. - local base="${T}/test-tc-mold" + local base="${T}/test-tc-linker" cat <<-EOF > "${base}.c" int main(void) { return 0; } EOF