From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1685453-garchives=archives.gentoo.org@lists.gentoo.org> 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 3898E158042 for <garchives@archives.gentoo.org>; Fri, 1 Nov 2024 09:03:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5D1BEE07E6; Fri, 1 Nov 2024 09:03:58 +0000 (UTC) Received: from smtp.gentoo.org (mail.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46604E07E6 for <gentoo-commits@lists.gentoo.org>; Fri, 1 Nov 2024 09:03:58 +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 82CE13430C4 for <gentoo-commits@lists.gentoo.org>; Fri, 1 Nov 2024 09:03:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4EEB1E74 for <gentoo-commits@lists.gentoo.org>; Fri, 1 Nov 2024 09:03:55 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1730451832.efe2c28cf7a7b9f3a4a26c4fe4057e62de81deb3.mgorny@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: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: efe2c28cf7a7b9f3a4a26c4fe4057e62de81deb3 X-VCS-Branch: master Date: Fri, 1 Nov 2024 09:03:55 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 91554a04-776b-4ba2-a66b-d411bb7f4d73 X-Archives-Hash: 9154d19054b0e005a95282492e10ce7a commit: efe2c28cf7a7b9f3a4a26c4fe4057e62de81deb3 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Nov 1 08:58:06 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Nov 1 09:03:52 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe2c28c toolchain.eclass: Add USE=time64 to 14.2.1_p20241026 and newer Acked-by: Sam James <sam <AT> gentoo.org> Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> eclass/toolchain.eclass | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 805fc30952ce..e464f8c53972 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -330,6 +330,7 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then # and https://rust-gcc.github.io/2023/04/24/gccrs-and-gcc13-release.html for why # it was disabled in 13. tc_version_is_at_least 14.0.0_pre20230423 ${PV} && IUSE+=" rust" TC_FEATURES+=( rust ) + tc_version_is_at_least 14.2.1_p20241026 ${PV} && IUSE+=" time64" fi if tc_version_is_at_least 10; then @@ -1060,6 +1061,9 @@ toolchain_src_configure() { downgrade_arch_flags gcc_do_filter_flags + if tc_version_is_at_least 14.2.1_p20241026 ${PV}; then + append-cppflags "-D_GENTOO_TIME64_FORCE=$(usex time64 1 0)" + fi if ! tc_version_is_at_least 11 && [[ $(gcc-major-version) -ge 12 ]] ; then # https://gcc.gnu.org/PR105695 (bug #849359)