driver: add link dependency on CodeGen

Fix the build when no targets are enabled. This dependency is incurred by two
unfortunate entries in LinkAllPasses.h included from cc1_main.cpp:

  llvm::createJumpInstrTablesPass();
  llvm::createCodeGenPreparePass();

llvm-svn: 212084
This commit is contained in:
Alp Toker 2014-07-01 02:42:02 +00:00
parent 475f282b5d
commit e8aa4b90f9
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
set( LLVM_LINK_COMPONENTS
${LLVM_TARGETS_TO_BUILD}
Analysis
CodeGen
Core
IPA
IPO