From bff543bb632933380da922cbfc07c67157d72d42 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 23 Jun 2024 00:11:31 +0100 Subject: gentoo auto-resync : 23:06:2024 - 00:11:30 --- profiles/features/time64/make.defaults | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'profiles/features') diff --git a/profiles/features/time64/make.defaults b/profiles/features/time64/make.defaults index 993dd21b6104..0edc40fa682e 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} -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=return-type -Werror=int-conversion" +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" -- cgit v1.2.3