]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r340984: Do not install GNU ld if lld is /usr/bin/ld
authorEd Maste <emaste@FreeBSD.org>
Thu, 29 Nov 2018 15:48:36 +0000 (15:48 +0000)
committerEd Maste <emaste@FreeBSD.org>
Thu, 29 Nov 2018 15:48:36 +0000 (15:48 +0000)
commitb3d5a3457aaf9a1932f816dd1efe86fc924036cf
treefc0d46d22b24a30e33475965b12bddfaa4b30455
parent9737c884b103374a47ece3820c001ce8580b4826
MFC r340984: Do not install GNU ld if lld is /usr/bin/ld

GNU binutils ld.bfd 2.17.50 does not support ifuncs and produces broken
binaries when ifuncs are in use.  When LLD_IS_LD is default we have an
ifunc-capable system linker and can just avoid installing ld.bfd.

Merged to stable/12 as libc's ifunc use has been merged there; ifunc use
has not been merged to releng/12.0 so this change does not need to be
either.
gnu/usr.bin/binutils/Makefile
tools/build/mk/OptionalObsoleteFiles.inc
tools/build/options/WITHOUT_BINUTILS
tools/build/options/WITH_BINUTILS