freebsd-dev/usr.bin/clang/llvm-ar/Makefile
Dimitry Andric dc6e1047ce Link llvm-ar to llvm-ranlib, if WITH_CLANG_EXTRAS is enabled. When
invoked as llvm-ranlib, it can create an archive symbol table for
archives of objects compiled for LTO by an LLVM compiler.

Submitted by:	Dan McGregor <danismostlikely@gmail.com>
MFC after:	3 days
2017-01-06 23:05:29 +00:00

13 lines
165 B
Makefile

# $FreeBSD$
PROG_CXX= llvm-ar
SRCDIR= tools/llvm-ar
SRCS+= llvm-ar.cpp
LIBADD+= z
LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
.include "../llvm.prog.mk"