diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-06-19 01:00:27 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2018-06-19 01:00:27 +0000 |
commit | cf43faaa9fa7924993782d7494f3cde32d7eb7e2 (patch) | |
tree | 8cf752ee574886fcf0095aa8b4bb7439aefa9ec2 /Makefile.inc1 | |
parent | b605d9cd514a5d9ae5a25214faee81141a293dd0 (diff) | |
download | src-cf43faaa9fa7924993782d7494f3cde32d7eb7e2.tar.gz src-cf43faaa9fa7924993782d7494f3cde32d7eb7e2.zip |
Don't bootstrap lld if an external linker is used.
Sponsored by: Dell EMC
Notes
Notes:
svn path=/head/; revision=335353
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 2c7b403db43b..caa44e5d3ebe 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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, |