summaryrefslogtreecommitdiff
path: root/tools/llvm-ar/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/llvm-ar/Makefile')
-rw-r--r--tools/llvm-ar/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/llvm-ar/Makefile b/tools/llvm-ar/Makefile
index 938f73ef11..36968b3cc2 100644
--- a/tools/llvm-ar/Makefile
+++ b/tools/llvm-ar/Makefile
@@ -9,6 +9,11 @@
LEVEL = ../..
TOOLNAME = llvm-ar
-USEDLIBS = LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.a
+USEDLIBS = LLVMArchive.a LLVMBCReader LLVMCore LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common
+
+check-local::
+ $(ToolDir)/llvm-ar zRrS nada.a .
+ $(ToolDir)/llvm-ar tv nada.a | grep Debug/llvm-ar.d >/dev/null 2>&1
+ $(RM) -f nada.a