Speed up clang-only link, by really linking only clang, and not the unittests
[oota-llvm.git] / Makefile
index 03ab0446522a55dff64c73aa62b687fb16474cce..bd8552b5bc0feaba34effcedb52489e8993ef3e8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ ifeq ($(MAKECMDGOALS),install-clang)
 endif
 
 ifeq ($(MAKECMDGOALS),clang-only)
-  DIRS := $(filter-out tools runtime docs, $(DIRS)) tools/clang
+  DIRS := $(filter-out tools runtime docs unittests, $(DIRS)) tools/clang
   OPTIONAL_DIRS :=
 endif