Page MenuHomeFreeBSD

D33742.id100936.diff
No OneTemporary

D33742.id100936.diff

Index: share/mk/bsd.endian.mk
===================================================================
--- share/mk/bsd.endian.mk
+++ share/mk/bsd.endian.mk
@@ -16,5 +16,18 @@
CAP_MKDB_ENDIAN= -b
LOCALEDEF_ENDIAN= -b
.else
+.if ${.MAKE.OS} == "FreeBSD"
.error "Don't know the endian of this architecture"
+.else
+#
+# During bootstrapping on !FreeBSD OSes, we need to define some value.
+# Short of having an exhaustive list for all variants of Linux and MacOS
+# we return the unknown order and poison the other variables. They should
+# be unused during the bootstrap phases where we're building the bootstrap
+# tools.
+#
+TARGET_ENDIANNESS= unknown
+CAP_MKDB_ENDIAN= -B # Poisoned value, invalid flags for both cap_mkdb
+LOCALEDEF_ENDIAN= -B # and localedef.
+.endif
.endif

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 21, 5:00 PM (4 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31922050
Default Alt Text
D33742.id100936.diff (778 B)

Event Timeline