Remove explicit dependency of LLVMARMCodeGen on LLVMARMAsmPrinter. It
authorOscar Fuentes <ofv@wanadoo.es>
Thu, 14 Oct 2010 15:54:46 +0000 (15:54 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Thu, 14 Oct 2010 15:54:46 +0000 (15:54 +0000)
creates a cyclic dependency that breaks the build when
BUILD_SHARED_LIBS=ON

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

lib/Target/ARM/CMakeLists.txt

index 31c80674df257feeaa6e12e7a9f3264a827512f2..16d127e552cee70b7d9dc6d83ea30b41fb77b90b 100644 (file)
@@ -49,8 +49,3 @@ add_llvm_target(ARMCodeGen
   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)