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
This commit is contained in:
@@ -1489,6 +1489,7 @@ OLD_FILES+=usr/bin/llvm-lto
|
|||||||
OLD_FILES+=usr/bin/llvm-mc
|
OLD_FILES+=usr/bin/llvm-mc
|
||||||
OLD_FILES+=usr/bin/llvm-nm
|
OLD_FILES+=usr/bin/llvm-nm
|
||||||
OLD_FILES+=usr/bin/llvm-pdbdump
|
OLD_FILES+=usr/bin/llvm-pdbdump
|
||||||
|
OLD_FILES+=usr/bin/llvm-ranlib
|
||||||
OLD_FILES+=usr/bin/llvm-rtdyld
|
OLD_FILES+=usr/bin/llvm-rtdyld
|
||||||
OLD_FILES+=usr/bin/llvm-symbolizer
|
OLD_FILES+=usr/bin/llvm-symbolizer
|
||||||
OLD_FILES+=usr/bin/opt
|
OLD_FILES+=usr/bin/opt
|
||||||
|
|||||||
@@ -7,4 +7,6 @@ SRCS+= llvm-ar.cpp
|
|||||||
|
|
||||||
LIBADD+= z
|
LIBADD+= z
|
||||||
|
|
||||||
|
LINKS+= ${BINDIR}/llvm-ar ${BINDIR}/llvm-ranlib
|
||||||
|
|
||||||
.include "../llvm.prog.mk"
|
.include "../llvm.prog.mk"
|
||||||
|
|||||||
Reference in New Issue
Block a user