Don't check variables before they are set.
[oota-llvm.git] / projects / Stacker / lib / Makefile
index bee436b83fb5eb75bcdbd010b9fbdd81f29df041..3a9a470a108185155489efa0a1498dacf6b42e77 100644 (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