diff options
author | 2024-06-22 13:46:27 +0200 | |
---|---|---|
committer | 2024-06-22 13:53:24 +0200 | |
commit | 3d102949a3e4802dd8ab610a92f31b13c9747f9d (patch) | |
tree | d3d87d2a3d5650de9790ea6f247814ac841bc7cc /profiles/features | |
parent | net-analyzer/zabbix: bump to 6.0.31 (diff) | |
download | gentoo-3d102949a3e4802dd8ab610a92f31b13c9747f9d.tar.gz gentoo-3d102949a3e4802dd8ab610a92f31b13c9747f9d.tar.bz2 gentoo-3d102949a3e4802dd8ab610a92f31b13c9747f9d.zip |
profiles: fill in content of time64 feature
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'profiles/features')
-rw-r--r-- | profiles/features/time64/make.defaults | 12 |
1 files changed, 12 insertions, 0 deletions
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" |