This makes example Makefile a lot more like actual
authorChris Lattner <sabre@nondot.org>
Mon, 21 Jun 2010 20:36:09 +0000 (20:36 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 21 Jun 2010 20:36:09 +0000 (20:36 +0000)
lib/Transforms/Hello/Makefile, and prevents a lot of errors like "Assertion
`Inserted && "Pass registered multiple times!"' failed"

Patch by Gregory Petrosyan!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106471 91177308-0d34-0410-b5e6-96231b3b80d8

docs/WritingAnLLVMPass.html

index f3e791f094ba366a917f6585c0a8137a5c5cf005..0d4dc09d2efe3b3f6f9d65090bd7828daa05e316 100644 (file)
@@ -189,11 +189,6 @@ LIBRARYNAME = Hello
 # dlopen/dlsym on the resulting library.
 LOADABLE_MODULE = 1
 
-# Tell the build system which LLVM libraries your pass needs. You'll probably
-# need at least LLVMSystem.a, LLVMSupport.a, LLVMCore.a but possibly several
-# others too.
-LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
-
 # Include the makefile implementation stuff
 include $(LEVEL)/Makefile.common
 </pre></div>