diff options
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/ARM/CMakeLists.txt | 5 | ||||
-rw-r--r-- | llvm/lib/Target/Alpha/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/CellSPU/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/MBlaze/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/MSP430/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/Mips/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/PIC16/AsmPrinter/CMakeLists.txt | 4 | ||||
-rw-r--r-- | llvm/lib/Target/PTX/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/PowerPC/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/Sparc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/lib/Target/SystemZ/CMakeLists.txt | 2 |
11 files changed, 4 insertions, 23 deletions
diff --git a/llvm/lib/Target/ARM/CMakeLists.txt b/llvm/lib/Target/ARM/CMakeLists.txt index 8bd0c065072..49120588e30 100644 --- a/llvm/lib/Target/ARM/CMakeLists.txt +++ b/llvm/lib/Target/ARM/CMakeLists.txt @@ -49,4 +49,7 @@ add_llvm_target(ARMCodeGen Thumb2SizeReduction.cpp ) -target_link_libraries (LLVMARMCodeGen LLVMARMAsmPrinter LLVMSelectionDAG) +# The ARM CodeGen library depends on the AsmPrinter for just an +# 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) diff --git a/llvm/lib/Target/Alpha/CMakeLists.txt b/llvm/lib/Target/Alpha/CMakeLists.txt index fbf7f3ab6b3..175ca666994 100644 --- a/llvm/lib/Target/Alpha/CMakeLists.txt +++ b/llvm/lib/Target/Alpha/CMakeLists.txt @@ -25,5 +25,3 @@ add_llvm_target(AlphaCodeGen AlphaTargetMachine.cpp AlphaSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMAlphaCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/CellSPU/CMakeLists.txt b/llvm/lib/Target/CellSPU/CMakeLists.txt index ddfca37d23e..213dea9230c 100644 --- a/llvm/lib/Target/CellSPU/CMakeLists.txt +++ b/llvm/lib/Target/CellSPU/CMakeLists.txt @@ -23,5 +23,3 @@ add_llvm_target(CellSPUCodeGen SPUTargetMachine.cpp SPUSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMCellSPUCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/MBlaze/CMakeLists.txt b/llvm/lib/Target/MBlaze/CMakeLists.txt index 7f85bf82518..7b470eec2bd 100644 --- a/llvm/lib/Target/MBlaze/CMakeLists.txt +++ b/llvm/lib/Target/MBlaze/CMakeLists.txt @@ -24,5 +24,3 @@ add_llvm_target(MBlazeCodeGen MBlazeIntrinsicInfo.cpp MBlazeSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMMBlazeCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/MSP430/CMakeLists.txt b/llvm/lib/Target/MSP430/CMakeLists.txt index a3f60d2a44f..2360ffdef4b 100644 --- a/llvm/lib/Target/MSP430/CMakeLists.txt +++ b/llvm/lib/Target/MSP430/CMakeLists.txt @@ -21,5 +21,3 @@ add_llvm_target(MSP430CodeGen MSP430TargetMachine.cpp MSP430SelectionDAGInfo.cpp ) - -target_link_libraries (LLVMMSP430CodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/Mips/CMakeLists.txt b/llvm/lib/Target/Mips/CMakeLists.txt index a77802aec52..78767e52e1d 100644 --- a/llvm/lib/Target/Mips/CMakeLists.txt +++ b/llvm/lib/Target/Mips/CMakeLists.txt @@ -22,5 +22,3 @@ add_llvm_target(MipsCodeGen MipsTargetObjectFile.cpp MipsSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMMipsCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/PIC16/AsmPrinter/CMakeLists.txt b/llvm/lib/Target/PIC16/AsmPrinter/CMakeLists.txt index 32f4bc4052d..f24c78a59d2 100644 --- a/llvm/lib/Target/PIC16/AsmPrinter/CMakeLists.txt +++ b/llvm/lib/Target/PIC16/AsmPrinter/CMakeLists.txt @@ -7,8 +7,4 @@ add_llvm_library(LLVMPIC16AsmPrinter PIC16AsmPrinter.cpp ) -target_link_libraries(LLVMPIC16AsmPrinter - LLVMPIC16CodeGen - ) - add_dependencies(LLVMPIC16AsmPrinter PIC16CodeGenTable_gen) diff --git a/llvm/lib/Target/PTX/CMakeLists.txt b/llvm/lib/Target/PTX/CMakeLists.txt index 5104f2b8bff..1f5fcbb6c8d 100644 --- a/llvm/lib/Target/PTX/CMakeLists.txt +++ b/llvm/lib/Target/PTX/CMakeLists.txt @@ -18,5 +18,3 @@ add_llvm_target(PTXCodeGen PTXSubtarget.cpp PTXTargetMachine.cpp ) - -target_link_libraries (LLVMPTXCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/PowerPC/CMakeLists.txt b/llvm/lib/Target/PowerPC/CMakeLists.txt index 7ffc5eb5f31..5f48bd00c63 100644 --- a/llvm/lib/Target/PowerPC/CMakeLists.txt +++ b/llvm/lib/Target/PowerPC/CMakeLists.txt @@ -26,5 +26,3 @@ add_llvm_target(PowerPCCodeGen PPCTargetMachine.cpp PPCSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMPowerPCCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/Sparc/CMakeLists.txt b/llvm/lib/Target/Sparc/CMakeLists.txt index 684cadfb57f..b789fa7ad5f 100644 --- a/llvm/lib/Target/Sparc/CMakeLists.txt +++ b/llvm/lib/Target/Sparc/CMakeLists.txt @@ -22,5 +22,3 @@ add_llvm_target(SparcCodeGen SparcTargetMachine.cpp SparcSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMSparcCodeGen LLVMSelectionDAG) diff --git a/llvm/lib/Target/SystemZ/CMakeLists.txt b/llvm/lib/Target/SystemZ/CMakeLists.txt index 880e56f0525..e780934d514 100644 --- a/llvm/lib/Target/SystemZ/CMakeLists.txt +++ b/llvm/lib/Target/SystemZ/CMakeLists.txt @@ -20,5 +20,3 @@ add_llvm_target(SystemZCodeGen SystemZTargetMachine.cpp SystemZSelectionDAGInfo.cpp ) - -target_link_libraries (LLVMSystemZCodeGen LLVMSelectionDAG) |