[llvm-commits] [llvm] r116480 - /llvm/trunk/lib/Target/ARM/CMakeLists.txt

Oscar Fuentes ofv at wanadoo.es
Thu Oct 14 08:54:46 PDT 2010


Author: ofv
Date: Thu Oct 14 10:54:46 2010
New Revision: 116480

URL: http://llvm.org/viewvc/llvm-project?rev=116480&view=rev
Log:
Remove explicit dependency of LLVMARMCodeGen on LLVMARMAsmPrinter. It
creates a cyclic dependency that breaks the build when
BUILD_SHARED_LIBS=ON

Modified:
    llvm/trunk/lib/Target/ARM/CMakeLists.txt

Modified: llvm/trunk/lib/Target/ARM/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/CMakeLists.txt?rev=116480&r1=116479&r2=116480&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/CMakeLists.txt (original)
+++ llvm/trunk/lib/Target/ARM/CMakeLists.txt Thu Oct 14 10:54:46 2010
@@ -49,8 +49,3 @@
   Thumb2RegisterInfo.cpp
   Thumb2SizeReduction.cpp
   )
-
-# The ARM CodeGen library depends on the AsmPrinter for just a
-# vtable, but GenLibDeps.pl is unable to detect it. So without this,
-# the build fails with "undefined reference to `vtable for ..."
-target_link_libraries(LLVMARMCodeGen LLVMARMAsmPrinter)





More information about the llvm-commits mailing list