summaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-01-18 17:52:28 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-01-18 17:52:28 +0000
commitd58816f898bc3a58ccfbad2bc149e4dce211db8a (patch)
tree0b8653cec4fe8518837e6cd74dbb13337ab3d0a9 /projects
parent971fd79067babb76619c8a0360166669df3a6863 (diff)
downloadllvm-d58816f898bc3a58ccfbad2bc149e4dce211db8a.tar.gz
llvm-d58816f898bc3a58ccfbad2bc149e4dce211db8a.tar.bz2
llvm-d58816f898bc3a58ccfbad2bc149e4dce211db8a.tar.xz
Don't try to build compiler-rt if it happens to be checked out into projects/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93729 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/projects/Makefile b/projects/Makefile
index b966fc7f78..491d596eca 100644
--- a/projects/Makefile
+++ b/projects/Makefile
@@ -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))