aboutsummaryrefslogtreecommitdiff
path: root/share/mk/src.opts.mk
diff options
context:
space:
mode:
authorAlex Richardson <arichardson@FreeBSD.org>2021-08-02 13:36:03 +0000
committerAlex Richardson <arichardson@FreeBSD.org>2021-08-02 13:36:03 +0000
commit31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3 (patch)
treeb9895127e861448a23a51c15aba851acf5a216dc /share/mk/src.opts.mk
parent2de949cf85d0e0b9ff71e1ffd74153814de96175 (diff)
downloadsrc-31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3.tar.gz
src-31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3.zip
Allow bootstrapping llvm-tblgen on macOS and Linux
This is needed in order to build various LLVM binutils (e.g. addr2line) as well as clang/lld/lldb. Co-authored-by: Jessica Clarke <jrtc27@FreeBSD.org> Test Plan: Compiles on ubuntu 18.04 and macOS 11.4 Reviewed By: dim Differential Revision: https://reviews.freebsd.org/D31057
Diffstat (limited to 'share/mk/src.opts.mk')
-rw-r--r--share/mk/src.opts.mk8
1 files changed, 0 insertions, 8 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 27de86f6c8d4..bd360dd1ad29 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -360,14 +360,6 @@ __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>
#