summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-02 17:19:57 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2021-03-05 16:15:57 -0300
commit821534133b97e37602a30131fd8714d0efb6dcf8 (patch)
treef2ef013cfc559d1be0da7887b3130ed0718093e6
parent6995406d36d9395d42b13fa249b3cfec09f42174 (diff)
downloadglibc-azanella/y2038.tar.gz
timezone: Use LFS and 64 bit time_t for installed programsazanella/y2038
It is enabled for zdump and zic.
-rw-r--r--timezone/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/timezone/Makefile b/timezone/Makefile
index 395abfeebd..cb95fb792f 100644
--- a/timezone/Makefile
+++ b/timezone/Makefile
@@ -61,6 +61,7 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
-DTZDEFRULES='"$(posixrules-file)"' \
-DTM_GMTOFF=tm_gmtoff -DTM_ZONE=tm_zone \
-DHAVE_GETTEXT -DUSE_LTZ=0 -D_ISOMAC -DTZ_DOMAIN='"libc"' \
+ -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 \
-include $(common-objpfx)config.h -Wno-maybe-uninitialized
# The -Wno-unused-variable flag is used to prevent GCC 6