Don't bootstrap lld if an external linker is used.

Sponsored by:	Dell EMC
This commit is contained in:
Bryan Drewery 2018-06-19 01:00:27 +00:00
parent b605d9cd51
commit cf43faaa9f

View File

@ -232,6 +232,10 @@ X${BINUTIL}?= ${${BINUTIL}}
.endif
.endfor
# If a full path to an external linker is given, don't build lld.
.if ${XLD:M/*}
MK_LLD_BOOTSTRAP= no
.endif
# We must do lib/ and libexec/ before bin/ in case of a mid-install error to
# keep the users system reasonably usable. For static->dynamic root upgrades,