]> granicus.if.org Git - clang/commitdiff
Use an environment variable instead of what's in the make cmd goals.
authorBill Wendling <isanbard@gmail.com>
Tue, 2 Oct 2012 06:19:15 +0000 (06:19 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 2 Oct 2012 06:19:15 +0000 (06:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164992 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile

index 288f3d4028d8087ff26bdd5ea19672aaf1816e26..6eec517bd195d9bd0f51cbc553a4b699165e2942 100644 (file)
--- 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 :=