Revert r100896 and around - this breaks the only mingw32 buildbot we have.
llvm-svn: 101387
diff --git a/llvm/Makefile.config.in b/llvm/Makefile.config.in
index d88ec4a..1b61f09 100644
--- a/llvm/Makefile.config.in
+++ b/llvm/Makefile.config.in
@@ -321,12 +321,6 @@
CXX_INCLUDE_32BIT_DIR = @CXX_INCLUDE_32BIT_DIR@
CXX_INCLUDE_64BIT_DIR = @CXX_INCLUDE_64BIT_DIR@
-# TARGET_HAS_DYNAMIC_LIBS - This is set if the target supports dynamic linking
-# .dylib or .so files.
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW Minix))
-TARGET_HAS_DYNAMIC_LIBS := 1
-endif
-
# When ENABLE_LLVMC_DYNAMIC is enabled, LLVMC will link libCompilerDriver
# dynamically. This is needed to make dynamic plugins work on some targets
# (Windows).
diff --git a/llvm/lib/Transforms/Makefile b/llvm/lib/Transforms/Makefile
index 648d10f..e527be2 100644
--- a/llvm/lib/Transforms/Makefile
+++ b/llvm/lib/Transforms/Makefile
@@ -12,8 +12,8 @@
include $(LEVEL)/Makefile.config
-# Some targets don't support plugins
-ifdef $(TARGET_HAS_DYNAMIC_LIBS)
+# No support for plugins on windows targets
+ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW Minix))
PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
endif
diff --git a/llvm/runtime/Makefile b/llvm/runtime/Makefile
index 741d87b..d0e85d5 100644
--- a/llvm/runtime/Makefile
+++ b/llvm/runtime/Makefile
@@ -20,7 +20,7 @@
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif
-ifdef $(TARGET_HAS_DYNAMIC_LIBS)
+ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
endif