Don't check variables before they are set.

Be careful about blanks when checking LLVMGCC variable.

llvm-svn: 31455
This commit is contained in:
Reid Spencer 2006-11-05 03:58:44 +00:00
parent 01c55a50b1
commit 0f43e646f8
1 changed files with 3 additions and 2 deletions

View File

@ -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