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 BAA99158232 for ; Fri, 6 Dec 2024 13:06:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0BD7AE0B35; Fri, 6 Dec 2024 13:06:34 +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 83548E0B35 for ; Fri, 6 Dec 2024 13:06:33 +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 BD45133BF41 for ; Fri, 6 Dec 2024 13:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5427CAED for ; Fri, 6 Dec 2024 13:06:30 +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: <1733490352.08dc9bec045a5683f5628787aecdcd5657b8be1e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/gmp/gmp-6.3.0-r1.ebuild X-VCS-Directories: dev-libs/gmp/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 08dc9bec045a5683f5628787aecdcd5657b8be1e X-VCS-Branch: master Date: Fri, 6 Dec 2024 13:06:30 +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: eb5972f1-a641-42c6-bd3a-9a6f1ceaab69 X-Archives-Hash: 9a47fd7e7e770e78f736e49a4f11542c commit: 08dc9bec045a5683f5628787aecdcd5657b8be1e Author: Sam James gentoo org> AuthorDate: Fri Dec 6 13:05:52 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 6 13:05:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08dc9bec dev-libs/gmp: pass -std=gnu17 conditionally Old compilers during Prefix bootstrap may not support it but they also won't be defaulting to C23 so that's fine. (This doesn't fix bug #919935 but it means we don't make it worse. I'll fix that as well in a minute.) Bug: https://bugs.gentoo.org/919935 Signed-off-by: Sam James gentoo.org> dev-libs/gmp/gmp-6.3.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-libs/gmp/gmp-6.3.0-r1.ebuild b/dev-libs/gmp/gmp-6.3.0-r1.ebuild index 2cef81b66de5..8f0d8c759801 100644 --- a/dev-libs/gmp/gmp-6.3.0-r1.ebuild +++ b/dev-libs/gmp/gmp-6.3.0-r1.ebuild @@ -97,7 +97,7 @@ multilib_src_configure() { # of platforms. Fix was maybe https://gmplib.org/repo/gmp-6.3/rev/9c324044f4b5. filter-lto # https://gmplib.org/list-archives/gmp-bugs/2024-November/005550.html - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) # Because of our 32-bit userland, 1.0 is the only HPPA ABI that works # https://gmplib.org/manual/ABI-and-ISA.html#ABI-and-ISA (bug #344613)