diff options
author | Chris Lattner <sabre@nondot.org> | 2010-04-09 20:51:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-04-09 20:51:47 +0000 |
commit | e3a39d40db3893be37107356f0c1680bef8a8ec1 (patch) | |
tree | 5748fa8d1e924db930dbf05a4e8a5f3c5626c02d /lib/Transforms/Makefile | |
parent | 21aa347c2816aa8fc635ad05c5ab786234b32c7e (diff) | |
download | external_llvm-e3a39d40db3893be37107356f0c1680bef8a8ec1.zip external_llvm-e3a39d40db3893be37107356f0c1680bef8a8ec1.tar.gz external_llvm-e3a39d40db3893be37107356f0c1680bef8a8ec1.tar.bz2 |
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/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Makefile b/lib/Transforms/Makefile index e527be2..648d10f 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 |