blob: 165370eeba24145dda29117ae19d6ec8e6f0324a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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"
|