Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160349268
D52340.id161376.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D52340.id161376.diff
View Options
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -391,8 +391,10 @@
.else
MACHINE_ABI+= hard-float
.endif
-# Currently all 64-bit architectures include 64 in their name (see arch(7)).
-.if ${MACHINE_ARCH:M*64*}
+# Currently all 64-bit FreEBSD architectures include 64 in their name
+# (see arch(7)). We need a special case for cross-building from MacOS
+# (which uses arm64/arm).
+.if ${MACHINE_ARCH:M*64*} || (${.MAKE.OS} == "Darwin" && ${MACHINE} == "arm64")
MACHINE_ABI+= long64
.else
MACHINE_ABI+= long32
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 1:45 PM (8 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34285020
Default Alt Text
D52340.id161376.diff (579 B)
Attached To
Mode
D52340: share/mk: Fix a heuristic in bsd.cpu.mk
Attached
Detach File
Event Timeline
Log In to Comment