summaryrefslogtreecommitdiff
path: root/lib/Transforms/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-09 20:51:47 +0000
committerChris Lattner <sabre@nondot.org>2010-04-09 20:51:47 +0000
commite3a39d40db3893be37107356f0c1680bef8a8ec1 (patch)
tree5748fa8d1e924db930dbf05a4e8a5f3c5626c02d /lib/Transforms/Makefile
parent21aa347c2816aa8fc635ad05c5ab786234b32c7e (diff)
downloadllvm-e3a39d40db3893be37107356f0c1680bef8a8ec1.tar.gz
llvm-e3a39d40db3893be37107356f0c1680bef8a8ec1.tar.bz2
llvm-e3a39d40db3893be37107356f0c1680bef8a8ec1.tar.xz
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
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 e527be25de..648d10f7b0 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
-# No support for plugins on windows targets
-ifeq ($(HOST_OS), $(filter $(HOST_OS), Cygwin MingW Minix))
+# Some targets don't support plugins
+ifdef $(TARGET_HAS_DYNAMIC_LIBS)
PARALLEL_DIRS := $(filter-out Hello, $(PARALLEL_DIRS))
endif