From: Bill Wendling Date: Tue, 2 Oct 2012 06:19:15 +0000 (+0000) Subject: Use an environment variable instead of what's in the make cmd goals. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7bafa94bc583af9b825b5049aed50359fdb844b;p=clang 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 --- 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 :=