From b7bafa94bc583af9b825b5049aed50359fdb844b Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 2 Oct 2012 06:19:15 +0000 Subject: [PATCH] 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 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 := -- 2.40.0