suck the propagating "has dynamic libs" check into a single makefile

variable TARGET_HAS_DYNAMIC_LIBS


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100896 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-04-09 20:51:47 +00:00
parent 21aa347c28
commit e3a39d40db
3 changed files with 9 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ ifeq ($(ARCH), Sparc)
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif
ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
ifdef $(TARGET_HAS_DYNAMIC_LIBS)
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif