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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5687B158232 for ; Fri, 6 Dec 2024 16:08:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12956E099F; Fri, 6 Dec 2024 16:08:01 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 8F2D3E099F for ; Fri, 6 Dec 2024 16:08:00 +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 635B4342F97 for ; Fri, 6 Dec 2024 16:07:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0499AED for ; Fri, 6 Dec 2024 16:07:57 +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: <1733501132.77be24e5295ac8392f5c824eb94e6f4cd59f9c61.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/bash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/bash/bash-2.05b_p13.ebuild app-shells/bash/bash-3.0_p22.ebuild app-shells/bash/bash-3.1_p23.ebuild app-shells/bash/bash-3.2_p57.ebuild app-shells/bash/bash-4.0_p44.ebuild app-shells/bash/bash-4.1_p17.ebuild app-shells/bash/bash-4.2_p53.ebuild app-shells/bash/bash-4.3_p48-r2.ebuild app-shells/bash/bash-4.4_p23-r2.ebuild app-shells/bash/bash-5.0_p18-r2.ebuild app-shells/bash/bash-5.1_p16-r13.ebuild X-VCS-Directories: app-shells/bash/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 77be24e5295ac8392f5c824eb94e6f4cd59f9c61 X-VCS-Branch: master Date: Fri, 6 Dec 2024 16:07:57 +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: b3405fbe-80e7-45d9-b920-74de55c0138a X-Archives-Hash: 5825879c096024805b07db3424b0ae93 commit: 77be24e5295ac8392f5c824eb94e6f4cd59f9c61 Author: Sam James gentoo org> AuthorDate: Fri Dec 6 16:05:32 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 6 16:05:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77be24e5 app-shells/bash: pass -std=gnu17 conditionally for old too Old compilers during Prefix bootstrap may not support it but they also won't be defaulting to C23 so that's fine. (No real need to do it for old but no harm either and saves it showing up in greps for @system packages.) Signed-off-by: Sam James gentoo.org> app-shells/bash/bash-2.05b_p13.ebuild | 2 +- app-shells/bash/bash-3.0_p22.ebuild | 2 +- app-shells/bash/bash-3.1_p23.ebuild | 2 +- app-shells/bash/bash-3.2_p57.ebuild | 2 +- app-shells/bash/bash-4.0_p44.ebuild | 2 +- app-shells/bash/bash-4.1_p17.ebuild | 2 +- app-shells/bash/bash-4.2_p53.ebuild | 2 +- app-shells/bash/bash-4.3_p48-r2.ebuild | 2 +- app-shells/bash/bash-4.4_p23-r2.ebuild | 2 +- app-shells/bash/bash-5.0_p18-r2.ebuild | 2 +- app-shells/bash/bash-5.1_p16-r13.ebuild | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app-shells/bash/bash-2.05b_p13.ebuild b/app-shells/bash/bash-2.05b_p13.ebuild index 332d2e91577c..6836c71ee4d0 100644 --- a/app-shells/bash/bash-2.05b_p13.ebuild +++ b/app-shells/bash/bash-2.05b_p13.ebuild @@ -103,7 +103,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-3.0_p22.ebuild b/app-shells/bash/bash-3.0_p22.ebuild index 432241662256..6ea72c071984 100644 --- a/app-shells/bash/bash-3.0_p22.ebuild +++ b/app-shells/bash/bash-3.0_p22.ebuild @@ -108,7 +108,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-3.1_p23.ebuild b/app-shells/bash/bash-3.1_p23.ebuild index 7e9fb5554451..66fae17e010a 100644 --- a/app-shells/bash/bash-3.1_p23.ebuild +++ b/app-shells/bash/bash-3.1_p23.ebuild @@ -103,7 +103,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-3.2_p57.ebuild b/app-shells/bash/bash-3.2_p57.ebuild index c00b1b641c4a..790bcdb42b27 100644 --- a/app-shells/bash/bash-3.2_p57.ebuild +++ b/app-shells/bash/bash-3.2_p57.ebuild @@ -105,7 +105,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-4.0_p44.ebuild b/app-shells/bash/bash-4.0_p44.ebuild index 62b57fd03b03..83095fd10267 100644 --- a/app-shells/bash/bash-4.0_p44.ebuild +++ b/app-shells/bash/bash-4.0_p44.ebuild @@ -99,7 +99,7 @@ src_prepare() { src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-4.1_p17.ebuild b/app-shells/bash/bash-4.1_p17.ebuild index e17891fc9cb2..056fcbfee8cb 100644 --- a/app-shells/bash/bash-4.1_p17.ebuild +++ b/app-shells/bash/bash-4.1_p17.ebuild @@ -94,7 +94,7 @@ src_prepare() { src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-4.2_p53.ebuild b/app-shells/bash/bash-4.2_p53.ebuild index 9736efa4fdb6..9189dd542110 100644 --- a/app-shells/bash/bash-4.2_p53.ebuild +++ b/app-shells/bash/bash-4.2_p53.ebuild @@ -106,7 +106,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --with-installed-readline=. diff --git a/app-shells/bash/bash-4.3_p48-r2.ebuild b/app-shells/bash/bash-4.3_p48-r2.ebuild index e5cd244c3acf..d1bd7188d32a 100644 --- a/app-shells/bash/bash-4.3_p48-r2.ebuild +++ b/app-shells/bash/bash-4.3_p48-r2.ebuild @@ -115,7 +115,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --docdir='$(datarootdir)'/doc/${PF} diff --git a/app-shells/bash/bash-4.4_p23-r2.ebuild b/app-shells/bash/bash-4.4_p23-r2.ebuild index 4c094621f6b4..a00a3d5f57b9 100644 --- a/app-shells/bash/bash-4.4_p23-r2.ebuild +++ b/app-shells/bash/bash-4.4_p23-r2.ebuild @@ -126,7 +126,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --disable-profiling diff --git a/app-shells/bash/bash-5.0_p18-r2.ebuild b/app-shells/bash/bash-5.0_p18-r2.ebuild index 9500f0a8c941..8b51f3570ada 100644 --- a/app-shells/bash/bash-5.0_p18-r2.ebuild +++ b/app-shells/bash/bash-5.0_p18-r2.ebuild @@ -130,7 +130,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) local myconf=( --disable-profiling diff --git a/app-shells/bash/bash-5.1_p16-r13.ebuild b/app-shells/bash/bash-5.1_p16-r13.ebuild index ddf5fd454024..c760b90a57da 100644 --- a/app-shells/bash/bash-5.1_p16-r13.ebuild +++ b/app-shells/bash/bash-5.1_p16-r13.ebuild @@ -175,7 +175,7 @@ src_configure() { # bash 5.3 drops unprototyped functions, earlier versions are # incompatible with C23. - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) myconf=( --disable-profiling