]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set MK_LLD_IS_LD to MK_LLD_BOOTSTRAP for cross-tools
authorEd Maste <emaste@FreeBSD.org>
Wed, 23 Aug 2017 12:47:10 +0000 (12:47 +0000)
committerEd Maste <emaste@FreeBSD.org>
Wed, 23 Aug 2017 12:47:10 +0000 (12:47 +0000)
commit6323f724ea78463ace768298e66b7ed45205cab3
tree8910b1cdeb46ed659be65c779a7f48ae32779cbb
parent1251590741d28695f233a1798cfc8428e78ff991
Set MK_LLD_IS_LD to MK_LLD_BOOTSTRAP for cross-tools

LLD_BOOTSTRAP is intended to control the linker used to link world and
kernel, while LLD_IS_LD is intended to control the linker installed in
that world.

Force LLD_IS_LD equal to LLD_BOOTSTRAP for the cross-tools build and
install phase, so that lld will be installed as the ld to run on the
host, when LLD_BOOTSTRAP is set.

PR: 221543
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D12072
Makefile.inc1