aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-11-05 03:58:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-11-05 03:58:44 +0000
commit12565159bf3c93b27088c7dcd45ddba6d0a3595f (patch)
treeca68f6d3e89d969fe2125f6ae13e427aef4b0008
parent5cd496e72773985590a7dfc003279459951c81d7 (diff)
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
-rw-r--r--projects/Stacker/lib/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/projects/Stacker/lib/Makefile b/projects/Stacker/lib/Makefile
index bee436b83f..3a9a470a10 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