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,
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to