aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-03-04 01:37:49 +0000
committerEd Maste <emaste@FreeBSD.org>2018-03-04 01:37:49 +0000
commit337981bd8934020c82f7d6032fac9ed98a91b968 (patch)
tree0f322d700e42fbb13a2a6d3e006f5154dc59e4a1 /gnu/usr.bin/binutils
parente05bc4f98f1258ef36388435c4a836c0e52ae4f2 (diff)
Notes
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index fb8097ac34273..c1a14ab57aa1b 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -7,7 +7,15 @@ ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
.PATH: ${SRCDIR}/ld
PROG= ld.bfd
+.if ${MK_LLD_IS_LD} == "no"
MAN= ld.1
+.else
+MAN= ld.bfd.1
+CLEANFILES+= ld.bfd.1
+ld.bfd.1: ld.1
+ ${CP} ${.ALLSRC} ${.TARGET}
+.endif
+
SCRIPTDIR= /usr/libdata/ldscripts
SRCS+= ldcref.c \
ldctor.c \