llvm-objcopy: Install llvm-strip, and optionally strip, links
Just as elftoolchain's objcopy doubles as strip, so does LLVM's. This ensures that a strip binary is still present for WITH_LLVM_BINUTILS builds. Note that we do not currently have a committed copy of the manpage generated from the rST source so no manpage is installed for (llvm-)strip. Reported by: Shawn Webb <shawn.webb@hardenedbsd.org> Tested by: Shawn Webb <shawn.webb@hardenedbsd.org> MFC after: 1 week
This commit is contained in:
parent
e673ac3ffb
commit
f28c1d0c5c
@ -44,8 +44,11 @@ CLEANFILES+= ${TGHDRS} ${TGHDRS:C/$/.d/}
|
||||
|
||||
LIBADD+= z
|
||||
|
||||
LINKS= ${BINDIR}/llvm-objcopy ${BINDIR}/llvm-strip
|
||||
|
||||
.if ${MK_LLVM_BINUTILS} != "no"
|
||||
LINKS= ${BINDIR}/llvm-objcopy ${BINDIR}/objcopy
|
||||
LINKS+= ${BINDIR}/llvm-objcopy ${BINDIR}/objcopy \
|
||||
${BINDIR}/llvm-strip ${BINDIR}/strip
|
||||
MLINKS= llvm-objcopy.1 objcopy.1
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user