svn commit: r337899 - head/share/mk

Ed Maste emaste at FreeBSD.org
Thu Aug 16 09:11:35 UTC 2018


Author: emaste
Date: Thu Aug 16 09:11:34 2018
New Revision: 337899
URL: https://svnweb.freebsd.org/changeset/base/337899

Log:
  Enable LLD_IS_LD by default on armv7
  
  lld should now be a usable linker for armv7, and is already used as the
  bootstrap linker (for linking the kernel and userland).  Also enable as
  the system linker now (/usr/bin/ld) for further testing and evaluation.
  (This change will be reverted in case of unexpected fallout.)
  
  Approved by:	manu
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/share/mk/src.opts.mk

Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk	Thu Aug 16 08:12:36 2018	(r337898)
+++ head/share/mk/src.opts.mk	Thu Aug 16 09:11:34 2018	(r337899)
@@ -311,9 +311,9 @@ __DEFAULT_YES_OPTIONS+=LLVM_LIBUNWIND
 .else
 __DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
 .endif
-.if ${__T} == "aarch64" || ${__T} == "amd64"
+.if ${__T} == "aarch64" || ${__T} == "amd64" || ${__T} == "armv7"
 __DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
-.elif ${__T} == "armv7" || ${__T} == "i386"
+.elif ${__T} == "i386"
 __DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP
 __DEFAULT_NO_OPTIONS+=LLD_IS_LD
 .else


More information about the svn-src-head mailing list