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