summaryrefslogtreecommitdiff
path: root/profiles/features/time64/make.defaults
blob: b8990b710b0b1197d2bbe3d2e88a1754d191c3f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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...
CFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-pointer-types -Werror=return-type -Werror=int-conversion"
CXXFLAGS="${CXXFLAGS} -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
FCFLAGS="${FCFLAGS} -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"
FFLAGS="${FFLAGS} -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64"

# We need to switch this explicitly on since it's explicitly disabled
# in profiles otherwise.
enable_year2038="yes"