tools/Makefile: Don't look into $(TARGET_OS), but $(HOST_OS), to inspect availability...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 29 Nov 2010 08:58:11 +0000 (08:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 29 Nov 2010 08:58:11 +0000 (08:58 +0000)
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

tools/Makefile

index 8a6751ab8727118f66e63d214814a4643c00fc43..35f6a8b97c6db5c2030d5f6b02b1e91ec8d04f4c 100644 (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