summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/clang
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2023-01-19 22:54:46 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2023-01-19 22:54:46 +0000
commit7d7ad025e4084abeb6eaa9d3fb68a8b92164ace4 (patch)
tree52ff8881bb3c2dd63e2361db88dca90b19ea05a4 /gnu/usr.bin/clang
parentbd87e0a30cf931fe7310d1477a8dc6b9c7d3c5f4 (diff)
Revert previous commit (but leave the man page around); llvm-strip behaves
differently on files that are hardlinked and this is tripping up ports. requested by naddy@
Diffstat (limited to 'gnu/usr.bin/clang')
-rw-r--r--gnu/usr.bin/clang/llvm-objcopy/Makefile8
1 files changed, 1 insertions, 7 deletions
diff --git a/gnu/usr.bin/clang/llvm-objcopy/Makefile b/gnu/usr.bin/clang/llvm-objcopy/Makefile
index fd602ff998b..36d39cfe974 100644
--- a/gnu/usr.bin/clang/llvm-objcopy/Makefile
+++ b/gnu/usr.bin/clang/llvm-objcopy/Makefile
@@ -1,9 +1,8 @@
-# $OpenBSD: Makefile,v 1.3 2023/01/19 00:18:19 kettenis Exp $
+# $OpenBSD: Makefile,v 1.4 2023/01/19 22:54:45 kettenis Exp $
.include <bsd.own.mk>
PROG= llvm-objcopy
-MAN= llvm-objcopy.1
BINDIR= /usr/bin
LIBEXECDIR=/usr/libexec
@@ -25,11 +24,6 @@ SRCS= ConfigManager.cpp \
WasmWriter.cpp \
WasmObjcopy.cpp
-.if ${LINKER_VERSION:L} == "lld"
-LINKS= ${BINDIR}/llvm-objcopy ${BINDIR}/strip
-MAN+= strip.1
-.endif
-
COFFObject.cpp:
ln -s ${.CURDIR}/../../../llvm/llvm/tools/llvm-objcopy/COFF/Object.cpp $@