summaryrefslogtreecommitdiffstats
path: root/share/mk/src.opts.mk
diff options
context:
space:
mode:
Diffstat (limited to 'share/mk/src.opts.mk')
-rw-r--r--share/mk/src.opts.mk15
1 files changed, 3 insertions, 12 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk
index 9bbbadd..9679722 100644
--- a/share/mk/src.opts.mk
+++ b/share/mk/src.opts.mk
@@ -247,9 +247,9 @@ BROKEN_OPTIONS+=TESTS # "undefined reference to `_Unwind_Resume'"
BROKEN_OPTIONS+=CXX # "libcxxrt.so: undefined reference to `_Unwind_Resume_or_Rethrow'"
.endif
.if ${__T} == "aarch64"
-__DEFAULT_YES_OPTIONS+=LLD_IS_LD
+__DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
.else
-__DEFAULT_NO_OPTIONS+=LLD_IS_LD
+__DEFAULT_NO_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
.endif
.if ${__T} == "aarch64" || ${__T} == "amd64"
__DEFAULT_YES_OPTIONS+=LLDB
@@ -306,16 +306,6 @@ MK_LDNS_UTILS:= no
MK_UNBOUND:= no
.endif
-.if ${MK_LLD} == "no"
-MK_LLD_IS_LD:= no
-.endif
-
-# LLD requires LLVM libraries, and we do not yet compare in-tree and host LLD
-# versions to avoid building it if they are identical.
-.if ${MK_LLD_IS_LD} != "no"
-MK_SYSTEM_COMPILER:= no
-.endif
-
.if ${MK_SOURCELESS} == "no"
MK_SOURCELESS_HOST:= no
MK_SOURCELESS_UCODE:= no
@@ -383,6 +373,7 @@ MK_CLANG:= no
MK_GCC:= no
MK_GDB:= no
MK_INCLUDES:= no
+MK_LLD:= no
MK_LLDB:= no
.endif
OpenPOWER on IntegriCloud