Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 09:11:35 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337899 - head/share/mk
Message-ID:  <201808160911.w7G9BZOJ049619@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808160911.w7G9BZOJ049619>