Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147747956
D52340.1784259445.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
579 B
Referenced Files
None
Subscribers
None
D52340.1784259445.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
Fri, Jul 17, 3:37 AM (18 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29163898
Default Alt Text
D52340.1784259445.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