mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
When lld is ld, install bfd's man page as ld.bfd.1
When WITH_LLD_IS_LD is set, lld's man page is installed as ld.1.gz, as was GNU BFD's man page prior to this change. Reported by: Tobias Kortkamp Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e05bc4f98f
commit
337981bd89
1 changed files with 8 additions and 0 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue