summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-02 06:19:15 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-02 06:19:15 +0000
commitb7bafa94bc583af9b825b5049aed50359fdb844b (patch)
tree36ac9d48bfdba7742a692fab15176a682a905529 /Makefile
parent3ba17ee280d58bf702eb3836c119bab42dcbb9c8 (diff)
Use an environment variable instead of what's in the make cmd goals.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164992 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 288f3d4028..6eec517bd1 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ ifeq ($(MAKECMDGOALS),libs-only)
DIRS := $(filter-out tools docs, $(DIRS))
OPTIONAL_DIRS :=
endif
-ifeq ($(MAKECMDGOALS),clang-only)
+ifeq ($(BUILD_CLANG_ONLY),YES)
DIRS := $(filter-out tools docs unittests, $(DIRS))
tools/driver tools/libclang
OPTIONAL_DIRS :=