summaryrefslogtreecommitdiff
path: root/lib/Transforms/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Makefile')
-rw-r--r--lib/Transforms/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Makefile b/lib/Transforms/Makefile
index 648d10f7b0..e527be25de 100644
--- a/lib/Transforms/Makefile
+++ b/lib/Transforms/Makefile
@@ -12,8 +12,8 @@ PARALLEL_DIRS = Utils Instrumentation Scalar InstCombine IPO Hello
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