diff options
author | emaste <emaste@FreeBSD.org> | 2015-12-23 14:31:26 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-12-23 14:31:26 +0000 |
commit | 1129b00c092d9249729e17c77955ef9c622f50e9 (patch) | |
tree | 0e22130dd2e7179828c83fa44b2dac4fea6ecddf | |
parent | bd04375ea466b9a7781709d059d84495fe08ed2b (diff) | |
download | FreeBSD-src-1129b00c092d9249729e17c77955ef9c622f50e9.zip FreeBSD-src-1129b00c092d9249729e17c77955ef9c622f50e9.tar.gz |
Install ld also as ld.bfd, for use with cc -fuse-ld=bfd
PR: 205409 [exp-run]
MFC after: 1 week
Relnotes: Yes
Sponsored by: The FreeBSD Foundation
-rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile | 1 | ||||
-rw-r--r-- | tools/build/mk/OptionalObsoleteFiles.inc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index 40dd7e2..5058c0a 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -48,6 +48,7 @@ CLEANFILES+= ldemul-list.h stringify.sed FILES= ${LDSCRIPTS:S|^|ldscripts/|} FILESDIR= ${SCRIPTDIR} +LINKS= ${BINDIR}/ld ${BINDIR}/ld.bfd HOST= ${TARGET_TUPLE} LIBSEARCHPATH= \"=/lib\":\"=/usr/lib\" diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index 779f596..838971b 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -189,6 +189,7 @@ OLD_DIRS+=usr/share/examples/bhyve .if ${MK_BINUTILS} == no OLD_FILES+=usr/bin/as OLD_FILES+=usr/bin/ld +OLD_FILES+=usr/bin/ld.bfd .if ${MK_ELFCOPY_AS_OBJCOPY} == no OLD_FILES+=usr/bin/objcopy .endif |