diff options
author | emaste <emaste@FreeBSD.org> | 2016-01-07 00:15:02 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2016-01-07 00:15:02 +0000 |
commit | 00b2bfda556b5760eaf34e9fdd62bced9d2197a9 (patch) | |
tree | bbab717dab41beca2573488bef635f05892773f0 /gnu | |
parent | 7e3646578b54b2efa2501b7025e79f74ae12ea0a (diff) | |
download | FreeBSD-src-00b2bfda556b5760eaf34e9fdd62bced9d2197a9.zip FreeBSD-src-00b2bfda556b5760eaf34e9fdd62bced9d2197a9.tar.gz |
Switch GNU ld to be installed as ld.bfd and linked as ld
We intend to replace GNU ld with LLVM's lld, and on the path to there
we'll experiment with having lld installed or linked as /usr/bin/ld.
Thus, make ld.bfd the primary install target for GNU ld, to later
facilitate making the ld link optional.
Reviewed by: davide, dim
Differential Revision: https://reviews.freebsd.org/D4790
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index 5058c0a..5bc3846 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -6,7 +6,8 @@ ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw .PATH: ${SRCDIR}/ld -PROG= ld +PROG= ld.bfd +MAN= ld.1 SCRIPTDIR= /usr/libdata/ldscripts SRCS+= ldcref.c \ ldctor.c \ @@ -48,7 +49,7 @@ CLEANFILES+= ldemul-list.h stringify.sed FILES= ${LDSCRIPTS:S|^|ldscripts/|} FILESDIR= ${SCRIPTDIR} -LINKS= ${BINDIR}/ld ${BINDIR}/ld.bfd +LINKS= ${BINDIR}/ld.bfd ${BINDIR}/ld HOST= ${TARGET_TUPLE} LIBSEARCHPATH= \"=/lib\":\"=/usr/lib\" |