Page MenuHomeFreeBSD

D14245.id39008.diff
No OneTemporary

D14245.id39008.diff

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

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)

Event Timeline