zoneinfo: Always produce fat zoneinfo files.
These aren't just needed for compatibility with i386 binaries (which need the 32-bit section), but potentially also for compatibility with older binaries on all platforms. Sponsored by: Klara, Inc. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D38194
This commit is contained in:
parent
6fc1bbbf62
commit
f1021d27f7
|
@ -77,11 +77,10 @@ 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
|
||||
#
|
||||
# Produce “fat” zoneinfo files for backward compatibility.
|
||||
#
|
||||
ZICFLAGS?= -b fat
|
||||
|
||||
zoneinfo: ${TDATA}
|
||||
mkdir -p ${TZBUILDDIR}
|
||||
|
|
Loading…
Reference in New Issue