summaryrefslogtreecommitdiff
path: root/SConstruct
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 /SConstruct
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 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index b57ff2e7..cfebd3d6 100644
--- a/SConstruct
+++ b/SConstruct
@@ -294,6 +294,7 @@ if env['CC'] == 'gcc':
env.Append(CCFLAGS = Split('-pipe -Wall -O2 -g -W -pedantic -Wunused -Wshadow -std=gnu99'))
env.Append(CPPFLAGS = [
+ '-D_TIME_BITS=64',
'-D_FILE_OFFSET_BITS=64',
'-D_LARGEFILE_SOURCE',
'-D_LARGE_FILES',