Set the 'build clang only' flag when we're building only clang.
[oota-llvm.git] / Makefile
index e59441c4329a56294ad7afccd2d58db0cc95d741..6ea55336b7a2e487ac298bc190b70c3b211436da 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,7 @@ ifeq ($(MAKECMDGOALS),install-clang)
 endif
 
 ifeq ($(MAKECMDGOALS),clang-only)
+  BUILD_CLANG_ONLY := YES
   DIRS := $(filter-out tools docs unittests, $(DIRS)) \
           tools/clang tools/lto
   OPTIONAL_DIRS :=