From 40266646972dfb0a58223e7f2f4f4c6e22894304 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 9 Sep 2010 15:49:32 +0000 Subject: [PATCH] projects: Don't try to build libcxx if one happens to have it checked out into llvm/projects. llvm-svn: 113490 --- llvm/projects/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/llvm/projects/Makefile b/llvm/projects/Makefile index 491d596eca9a..1318a35d941e 100644 --- a/llvm/projects/Makefile +++ b/llvm/projects/Makefile @@ -14,9 +14,12 @@ include $(LEVEL)/Makefile.config # Before 2008.06.24 it lived in llvm-test, so exclude that as well for now. DIRS:= $(filter-out llvm-test test-suite,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard $(PROJ_SRC_DIR)/*/Makefile))) -# Don't build compiler-rt either, it isn't designed to be built directly. +# Don't build compiler-rt, it isn't designed to be built directly. DIRS := $(filter-out compiler-rt,$(DIRS)) +# Don't build libcxx, it isn't designed to be built directly. +DIRS := $(filter-out libcxx,$(DIRS)) + # Sparc cannot link shared libraries (libtool problem?) ifeq ($(ARCH), Sparc) DIRS := $(filter-out sample, $(DIRS))