tools/Makefile: Don't look into $(TARGET_OS), but $(HOST_OS), to inspect availability of loadable module!

The last commit made run.build.step.test_llvm_1 to fail.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120283 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi 2010-11-29 08:58:11 +00:00
parent 86c817e9d4
commit 0ae59f4c07

View File

@ -60,7 +60,7 @@ endif
# On Win32, loadable modules can be built with ENABLE_SHARED.
ifneq ($(ENABLE_SHARED),1)
ifneq (,$(filter $(TARGET_OS), Cygwin MingW))
ifneq (,$(filter $(HOST_OS), Cygwin MingW))
PARALLEL_DIRS := $(filter-out bugpoint-passes, \
$(PARALLEL_DIRS))
endif