From 9b8cc2bc569db67a606c0264d9f25b14a086d816 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113490 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/Makefile b/projects/Makefile index 491d596eca9..1318a35d941 100644 --- a/projects/Makefile +++ b/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))