svn commit: r337057 - head/share/mk
Ed Maste
emaste at FreeBSD.org
Wed Aug 1 19:17:56 UTC 2018
Author: emaste
Date: Wed Aug 1 19:17:55 2018
New Revision: 337057
URL: https://svnweb.freebsd.org/changeset/base/337057
Log:
Use lld as the bootstrap linker on armv7 by default
As of r336972 lld is capable linking the armv7 kernel and userland,
so enable it by default.
PR: 229050
Reviewed by: kevans
Tested by: kevans
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D16528
Modified:
head/share/mk/src.opts.mk
Modified: head/share/mk/src.opts.mk
==============================================================================
--- head/share/mk/src.opts.mk Wed Aug 1 19:10:46 2018 (r337056)
+++ head/share/mk/src.opts.mk Wed Aug 1 19:17:55 2018 (r337057)
@@ -311,7 +311,7 @@ __DEFAULT_NO_OPTIONS+=LLVM_LIBUNWIND
.endif
.if ${__T} == "aarch64" || ${__T} == "amd64"
__DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP LLD_IS_LD
-.elif ${__T} == "i386"
+.elif ${__T} == "armv7" || ${__T} == "i386"
__DEFAULT_YES_OPTIONS+=LLD_BOOTSTRAP
__DEFAULT_NO_OPTIONS+=LLD_IS_LD
.else
More information about the svn-src-all
mailing list