Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153359069
D33742.id100936.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
778 B
Referenced Files
None
Subscribers
None
D33742.id100936.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33742: bsd.endian.mk: Allow for the cross building case
Attached
Detach File
Event Timeline
Log In to Comment