summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-10-02 19:10:56 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-10-02 19:10:56 +0000
commit76907e3dafe59fd29d0e5a17263566164904b117 (patch)
tree085389af1e3832e230c8971dcf8db5b9cc7dba3b /projects
parentb56371edbc42dd8691eb78db91f12c0e31faa6c5 (diff)
Don't build the runtime library if LLVMGCC is not configured.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/Stacker/lib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/Stacker/lib/Makefile b/projects/Stacker/lib/Makefile
index a302a85ef51..bee436b83fb 100644
--- a/projects/Stacker/lib/Makefile
+++ b/projects/Stacker/lib/Makefile
@@ -7,4 +7,9 @@
LEVEL = ..
DIRS = compiler runtime
+# Don't generate the runtime if we don't have LLVMGCC
+ifeq ($(LLVMGCC),)
+ DIRS := $(filter-out runtime, $(DIRS))
+endif
+
include $(LEVEL)/Makefile.common