From ff83d25c4814bbf755a18d45b516b63320e7e318 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Mon, 2 Oct 2006 19:10:56 +0000 Subject: [PATCH] Don't build the runtime library if LLVMGCC is not configured. llvm-svn: 30691 --- projects/Stacker/lib/Makefile | 5 +++++ 1 file changed, 5 insertions(+) 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