summaryrefslogtreecommitdiffstats
path: root/llvm/projects/Stacker
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/projects/Stacker')
-rw-r--r--llvm/projects/Stacker/lib/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/projects/Stacker/lib/Makefile b/llvm/projects/Stacker/lib/Makefile
index a302a85ef51..bee436b83fb 100644
--- a/llvm/projects/Stacker/lib/Makefile
+++ b/llvm/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
OpenPOWER on IntegriCloud