add llvm-ar(1) to the build with its two dependencies libLLVMDlltoolDriver
authorrobert <robert@openbsd.org>
Tue, 23 Nov 2021 10:30:08 +0000 (10:30 +0000)
committerrobert <robert@openbsd.org>
Tue, 23 Nov 2021 10:30:08 +0000 (10:30 +0000)
commitd5a92f23e1972e4151f062ce9d745e39cb9fd3d0
tree417548dec7b8785a89edfad653ea72b09dc3e600
parent1085073b2b4e1e5fdfac7b06368632e1ec8cd662
add llvm-ar(1) to the build with its two dependencies libLLVMDlltoolDriver
and libLLVMLibDriver;

switch LLD_ARCHs to llvm-ar(1) by skipping the installation of binutils' ar(1)
and linking llvm-ar(1) to ar(1)

tested on amd64, i386, arm64 and mips64

ok patrick@, kettenis@
gnu/usr.bin/binutils-2.17/Makefile.bsd-wrapper
gnu/usr.bin/clang/Makefile
gnu/usr.bin/clang/libLLVMDlltoolDriver/Makefile [new file with mode: 0644]
gnu/usr.bin/clang/libLLVMLibDriver/Makefile [new file with mode: 0644]
gnu/usr.bin/clang/llvm-ar/Makefile [new file with mode: 0644]
gnu/usr.bin/clang/llvm-ar/llvm-ar.1 [new file with mode: 0644]
share/mk/bsd.own.mk