summaryrefslogtreecommitdiffstats
path: root/clang/tools/index-test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/index-test')
-rw-r--r--clang/tools/index-test/CMakeLists.txt1
-rw-r--r--clang/tools/index-test/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/clang/tools/index-test/CMakeLists.txt b/clang/tools/index-test/CMakeLists.txt
index 880539bbe31..9c9656a1130 100644
--- a/clang/tools/index-test/CMakeLists.txt
+++ b/clang/tools/index-test/CMakeLists.txt
@@ -11,6 +11,7 @@ set( LLVM_USED_LIBS
set( LLVM_LINK_COMPONENTS
bitreader
+ mc
)
add_clang_executable(index-test
diff --git a/clang/tools/index-test/Makefile b/clang/tools/index-test/Makefile
index cec0eee2861..0a43d2f47f9 100644
--- a/clang/tools/index-test/Makefile
+++ b/clang/tools/index-test/Makefile
@@ -17,7 +17,7 @@ TOOL_NO_EXPORTS = 1
include $(LEVEL)/Makefile.config
-LINK_COMPONENTS := bitreader
+LINK_COMPONENTS := bitreader mc
USEDLIBS = clangIndex.a clangFrontend.a clangSema.a clangAST.a clangLex.a clangBasic.a
include $(LLVM_SRC_ROOT)/Makefile.rules
OpenPOWER on IntegriCloud