Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Oct 2021 13:38:12 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2bfc7f7b75d3 - stable/13 - llvm-objcopy: Install llvm-strip link
Message-ID:  <202110101338.19ADcC78035872@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jrtc27:

URL: https://cgit.FreeBSD.org/src/commit/?id=2bfc7f7b75d36e541a759031e7c81e08c808d74a

commit 2bfc7f7b75d36e541a759031e7c81e08c808d74a
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2021-09-13 20:52:40 +0000
Commit:     Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2021-10-10 13:34:33 +0000

    llvm-objcopy: Install llvm-strip link
    
    Just as elftoolchain's objcopy doubles as strip, so does LLVM's. 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.
    
    (Note this is only a partial MFC, as WITH_LLVM_BINUTILS was not MFC'ed)
    
    Reported by:    Shawn Webb <shawn.webb@hardenedbsd.org>
    Tested by:      Shawn Webb <shawn.webb@hardenedbsd.org>
    MFC after:      1 week
    
    (cherry picked from commit f28c1d0c5c6c6532df0dfa38eaf804343988d163)
---
 usr.bin/clang/llvm-objcopy/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/usr.bin/clang/llvm-objcopy/Makefile b/usr.bin/clang/llvm-objcopy/Makefile
index 645bbbd7c4e9..f9b146f4bbfa 100644
--- a/usr.bin/clang/llvm-objcopy/Makefile
+++ b/usr.bin/clang/llvm-objcopy/Makefile
@@ -42,4 +42,6 @@ CLEANFILES+=	${TGHDRS} ${TGHDRS:C/$/.d/}
 
 LIBADD+=	z
 
+LINKS=		${BINDIR}/llvm-objcopy ${BINDIR}/llvm-strip
+
 .include "../llvm.prog.mk"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110101338.19ADcC78035872>