This tool needs the libLLVMArchive library now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17789 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2004-11-14 22:19:21 +00:00
parent 6903c86348
commit c7ebfdd2cc
2 changed files with 10 additions and 4 deletions

View File

@ -10,8 +10,9 @@
LEVEL = ../..
TOOLNAME = gccld
USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a LLVMipa.a \
LLVMTransformUtils.a LLVMTarget.a LLVMBCReader LLVMBCWriter LLVMCore \
LLVMSupport.a LLVMSystem.a
USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a \
LLVMipa.a LLVMTransformUtils.a LLVMTarget.a LLVMLinker.a \
LLVMArchive.a LLVMBCReader LLVMBCWriter \
LLVMCore LLVMSupport.a LLVMSystem.a
include $(LEVEL)/Makefile.common

View File

@ -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