git: f1021d27f73e - main - zoneinfo: Always produce fat zoneinfo files.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Jan 2023 17:03:34 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=f1021d27f73efb821213a973e1ab9366278c78f1
commit f1021d27f73efb821213a973e1ab9366278c78f1
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-01-25 17:03:05 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-01-25 17:03:05 +0000
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
---
share/zoneinfo/Makefile | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index cffd12cc5e9a..17dce860edae 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -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}