Don't try to build compiler-rt if it happens to be checked out into projects/
authorDaniel Dunbar <daniel@zuster.org>
Mon, 18 Jan 2010 17:52:28 +0000 (17:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 18 Jan 2010 17:52:28 +0000 (17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93729 91177308-0d34-0410-b5e6-96231b3b80d8

projects/Makefile

index b966fc7f780c15f16bdf52a1b5477a54a1ec1d79..491d596eca9abe4d7e358906003c84f9bae3ae95 100644 (file)
@@ -14,6 +14,9 @@ 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.
+DIRS := $(filter-out compiler-rt,$(DIRS))
+
 # Sparc cannot link shared libraries (libtool problem?)
 ifeq ($(ARCH), Sparc)
 DIRS := $(filter-out sample, $(DIRS))