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
This commit is contained in:
Reid Spencer 2006-11-05 03:58:44 +00:00
parent 5cd496e727
commit 12565159bf

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