From 12565159bf3c93b27088c7dcd45ddba6d0a3595f Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Sun, 5 Nov 2006 03:58:44 +0000 Subject: [PATCH] Don't check variables before they are set. Be careful about blanks when checking LLVMGCC variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31455 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Stacker/lib/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/Stacker/lib/Makefile b/projects/Stacker/lib/Makefile index bee436b83fb..3a9a470a108 100644 --- a/projects/Stacker/lib/Makefile +++ b/projects/Stacker/lib/Makefile @@ -7,9 +7,10 @@ LEVEL = .. DIRS = compiler runtime +include $(LEVEL)/Makefile.common + # Don't generate the runtime if we don't have LLVMGCC -ifeq ($(LLVMGCC),) +ifeq ($(strip $(LLVMGCC)),) DIRS := $(filter-out runtime, $(DIRS)) endif -include $(LEVEL)/Makefile.common