forked from OSchip/llvm-project
Don't check variables before they are set.
Be careful about blanks when checking LLVMGCC variable. llvm-svn: 31455
This commit is contained in:
parent
01c55a50b1
commit
0f43e646f8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue