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 1EF4E15817D for ; Sat, 22 Jun 2024 11:54:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 538CDE2A2D; Sat, 22 Jun 2024 11:54:30 +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 2C4BFE2A2D for ; Sat, 22 Jun 2024 11:54:30 +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 29DAA34027D for ; Sat, 22 Jun 2024 11:54:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F6091682 for ; Sat, 22 Jun 2024 11:54:27 +0000 (UTC) From: "Andreas K. Hüttel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas K. Hüttel" Message-ID: <1719057204.3d102949a3e4802dd8ab610a92f31b13c9747f9d.dilfridge@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/features/time64/ X-VCS-Repository: repo/gentoo X-VCS-Files: profiles/features/time64/make.defaults X-VCS-Directories: profiles/features/time64/ X-VCS-Committer: dilfridge X-VCS-Committer-Name: Andreas K. Hüttel X-VCS-Revision: 3d102949a3e4802dd8ab610a92f31b13c9747f9d X-VCS-Branch: master Date: Sat, 22 Jun 2024 11:54:27 +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: 0a871185-3155-4e05-8db9-6cff0ad87f06 X-Archives-Hash: 92e9400c1ea911677238f5d47ff2957a commit: 3d102949a3e4802dd8ab610a92f31b13c9747f9d Author: Andreas K. Hüttel gentoo org> AuthorDate: Sat Jun 22 11:46:27 2024 +0000 Commit: Andreas K. Hüttel gentoo org> CommitDate: Sat Jun 22 11:53:24 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d102949 profiles: fill in content of time64 feature Signed-off-by: Andreas K. Hüttel gentoo.org> profiles/features/time64/make.defaults | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/profiles/features/time64/make.defaults b/profiles/features/time64/make.defaults index 993dd21b6104..165370eeba24 100644 --- a/profiles/features/time64/make.defaults +++ b/profiles/features/time64/make.defaults @@ -1,3 +1,15 @@ # Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Many profiles and stages override CFLAGS etc, and need then to eat their +# own dogfood. For those who don't... +__COMMON_FLAGS_TIME64="-D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64" + +CFLAGS="${CFLAGS} ${__COMMON_FLAGS_TIME64}" +CXXFLAGS="${CXXFLAGS} ${__COMMON_FLAGS_TIME64}" +FCFLAGS="${FCFLAGS} ${__COMMON_FLAGS_TIME64}" +FFLAGS="${FFLAGS} ${__COMMON_FLAGS_TIME64}" + +# We need to switch this explicitly on since it's explicitly disabled +# in profiles otherwise. +enable_year2038="yes"