summaryrefslogtreecommitdiff
path: root/share/mk
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2020-08-11 16:46:43 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2020-08-11 16:46:43 +0000
commit14267d398f875341144c3ad66a5bc690bd14b475 (patch)
treeffbc83d638b738e1d286b74e3691473b8ab783f5 /share/mk
parentb05fc77a36028619e670205f3860e64f10ed10a8 (diff)
downloadsrc-test2-14267d398f875341144c3ad66a5bc690bd14b475.tar.gz
src-test2-14267d398f875341144c3ad66a5bc690bd14b475.zip
Notes
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/src.opts.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index e596f216c258..234b13205c67 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -365,6 +365,14 @@ __DEFAULT_YES_OPTIONS+=OPENMP
__DEFAULT_NO_OPTIONS+=OPENMP
.endif
+.if ${.MAKE.OS} != "FreeBSD"
+# Building the target compiler requires building tablegen on the host
+# which is (currently) not possible on non-FreeBSD.
+BROKEN_OPTIONS+=CLANG LLD LLDB
+# The same also applies to the bootstrap LLVM.
+BROKEN_OPTIONS+=CLANG_BOOTSTRAP LLD_BOOTSTRAP
+.endif
+
.include <bsd.mkopt.mk>
#