summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2010-04-15 19:51:42 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2010-04-15 19:51:42 +0000
commit764f62ba601ed80710a05565b61c6dd4fbb73eea (patch)
treeeb095222b7b0d75971077aebc90d6e2de064220c
parent8cf16167a057f817c8947da8c82e904186613200 (diff)
downloadllvm-764f62ba601ed80710a05565b61c6dd4fbb73eea.tar.gz
llvm-764f62ba601ed80710a05565b61c6dd4fbb73eea.tar.bz2
llvm-764f62ba601ed80710a05565b61c6dd4fbb73eea.tar.xz
Revert r100896 and around - this breaks the only mingw32 buildbot we have.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101387 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile.config.in6
-rw-r--r--lib/Transforms/Makefile4
-rw-r--r--runtime/Makefile2
3 files changed, 3 insertions, 9 deletions
diff --git a/Makefile.config.in b/Makefile.config.in
index d88ec4a287..1b61f0908a 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -321,12 +321,6 @@ CXX_INCLUDE_ARCH := @CXX_INCLUDE_ARCH@
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/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
diff --git a/runtime/Makefile b/runtime/Makefile
index 741d87bc65..d0e85d5826 100644
--- a/runtime/Makefile
+++ b/runtime/Makefile
@@ -20,7 +20,7 @@ ifeq ($(ARCH), Sparc)
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