Don't try to build compiler-rt if it happens to be checked out into projects/

llvm-svn: 93729
This commit is contained in:
Daniel Dunbar 2010-01-18 17:52:28 +00:00
parent 8c94086c90
commit ff24e1aa4c
1 changed files with 3 additions and 0 deletions

View 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))