summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-07-12 22:35:19 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2021-09-04 08:08:26 -0400
commit92576a2f4b5715f9703f483305a490d3710ee489 (patch)
treeeed10187e314a30c4633e19a75157d3081902899 /configure.ac
parent1ccc1d4ff569893e462e52b6eb932bbc854d2564 (diff)
downloadlighttpd-git-92576a2f4b5715f9703f483305a490d3710ee489.tar.gz
[core] Y2038: use _TIME_BITS=64 on 32-bit glibc
Y2038: use _TIME_BITS=64 on 32-bit glibc platforms reference: https://www.phoronix.com/scan.php?page=news_item&px=Glibc-More-Y2038-Work
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5787480e..50cc72cd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1553,7 +1553,7 @@ AC_ARG_ENABLE([lfs],
)
AC_MSG_RESULT([$ENABLE_LFS])
if test "$ENABLE_LFS" = yes; then
- CPPFLAGS="${CPPFLAGS} -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
+ CPPFLAGS="${CPPFLAGS} -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES"
AC_SYS_LARGEFILE
fi