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 16DB1158232 for ; Fri, 6 Dec 2024 13:04:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72BD4E0B61; Fri, 6 Dec 2024 13:04:18 +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 296A2E0B58 for ; Fri, 6 Dec 2024 13:04:18 +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 646D0341E1C for ; Fri, 6 Dec 2024 13:04:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDC331F41 for ; Fri, 6 Dec 2024 13:04:14 +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: <1733490207.9ba6c0e0f18d1266e8c897c4bcd3ffa12bb4795a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/gdbm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/gdbm/gdbm-1.24.ebuild X-VCS-Directories: sys-libs/gdbm/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9ba6c0e0f18d1266e8c897c4bcd3ffa12bb4795a X-VCS-Branch: master Date: Fri, 6 Dec 2024 13:04:14 +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: cb7cf839-a4da-4f97-a273-67151f22092c X-Archives-Hash: cede9516f86599c7f0f128c658a471e2 commit: 9ba6c0e0f18d1266e8c897c4bcd3ffa12bb4795a Author: Sam James gentoo org> AuthorDate: Fri Dec 6 13:00:01 2024 +0000 Commit: Sam James gentoo org> CommitDate: Fri Dec 6 13:03:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba6c0e0 sys-libs/gdbm: 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. Signed-off-by: Sam James gentoo.org> sys-libs/gdbm/gdbm-1.24.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-libs/gdbm/gdbm-1.24.ebuild b/sys-libs/gdbm/gdbm-1.24.ebuild index 122b7b2c8098..1dec3b5c1908 100644 --- a/sys-libs/gdbm/gdbm-1.24.ebuild +++ b/sys-libs/gdbm/gdbm-1.24.ebuild @@ -36,7 +36,7 @@ src_prepare() { multilib_src_configure() { # https://puszcza.gnu.org.ua/bugs/index.php?642 - append-cflags -std=gnu17 + append-cflags $(test-flags-CC -std=gnu17) # gdbm doesn't appear to use either of these libraries export ac_cv_lib_dbm_main=no ac_cv_lib_ndbm_main=no