svn commit: r335353 - head

Bryan Drewery bdrewery at FreeBSD.org
Tue Jun 19 01:00:29 UTC 2018


Author: bdrewery
Date: Tue Jun 19 01:00:27 2018
New Revision: 335353
URL: https://svnweb.freebsd.org/changeset/base/335353

Log:
  Don't bootstrap lld if an external linker is used.
  
  Sponsored by:	Dell EMC

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1	Tue Jun 19 00:50:27 2018	(r335352)
+++ head/Makefile.inc1	Tue Jun 19 01:00:27 2018	(r335353)
@@ -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,


More information about the svn-src-head mailing list