Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157312559
D14245.id39008.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
924 B
Referenced Files
None
Subscribers
None
D14245.id39008.diff
View Options
Index: share/mk/src.opts.mk
===================================================================
--- share/mk/src.opts.mk
+++ share/mk/src.opts.mk
@@ -427,6 +427,24 @@
MK_CLANG_FULL:= no
.endif
+.if ${.MAKE.OS} != "FreeBSD"
+# Building on a Linux/Mac requires an external toolchain to be specified
+# since clang/gcc will not build there using the FreeBSD makefiles
+MK_BINUTILS_BOOTSTRAP:= no
+MK_CLANG_BOOTSTRAP:= no
+MK_LLD_BOOTSTRAP:= no
+MK_GCC_BOOTSTRAP:= no
+# tablegen will not build on non-FreeBSD so also disable target clang and lld
+MK_CLANG:= no
+MK_LLD:= no
+# However, the elftoolchain tools build and should be used
+MK_ELFTOOLCHAIN_BOOTSTRAP:= yes
+# The cddl bootstrap tools still need some changes in order to compile
+MK_CDDL:= no
+# localedef currently doesn't work on Linux/Mac so disable LOCALES there
+MK_LOCALES:= no
+.endif
+
#
# MK_* options whose default value depends on another option.
#
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 21, 6:00 AM (5 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33376756
Default Alt Text
D14245.id39008.diff (924 B)
Attached To
Mode
D14245: Add CLANG/LLD/LLD to BROKEN_OPTIONS when building on non-FreeBSD
Attached
Detach File
Event Timeline
Log In to Comment