Commit 783c318f authored by Dag-Erling Smørgrav's avatar Dag-Erling Smørgrav
Browse files

zoneinfo: On amd64, include 32-bit data.

While there, drop the unnecessary posixrules option.

Sponsored by:	Klara, Inc.
Reviewed by:	imp, allanjude
Differential Revision:	https://reviews.freebsd.org/D38142
parent 4410e857
......@@ -51,7 +51,6 @@ LEAPFILE=
TZFILES= africa antarctica asia australasia etcetera europe \
factory northamerica southamerica
TZFILES+= backward
POSIXRULES= America/New_York
TZFILES:= ${TZFILES:S/^/${CONTRIBDIR}/}
......@@ -78,11 +77,17 @@ all: zoneinfo
.endif
META_TARGETS+= zoneinfo install-zoneinfo
# On amd64, include 32-bit data for compatibility with statically-linked
# i386 binaries which still use a 32-bit time_t.
.if ${MACHINE_ARCH} == "amd64"
ZICFLAGS+= -b fat
.endif
zoneinfo: ${TDATA}
mkdir -p ${TZBUILDDIR}
cd ${TZBUILDDIR}; mkdir -p ${TZBUILDSUBDIRS}
umask 022; cd ${.CURDIR}; \
zic -D -d ${TZBUILDDIR} -p ${POSIXRULES} -m ${NOBINMODE} \
zic -D -d ${TZBUILDDIR} ${ZICFLAGS} -m ${NOBINMODE} \
${LEAPFILE} ${TZFILES}
#
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment