Disable plugins / shared stuff generation on windows targets.
authorAnton Korobeynikov <asl@math.spbu.ru>
Wed, 11 Mar 2009 19:49:42 +0000 (19:49 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Wed, 11 Mar 2009 19:49:42 +0000 (19:49 +0000)
This fixes fallout from recent PIC/delibtoolize changes and unbreaks
build on cygming.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66686 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Makefile
tools/Makefile

index bfdb2bf81d9808f32e98caa2761514d5a6906a75..32ac9fc911e18502e8e3157f6ac0743c651e7d32 100644 (file)
 LEVEL = ../..
 PARALLEL_DIRS = Utils Instrumentation Scalar IPO Hello
 
+# No support for plugins on windows targets
+ifeq ($(OS), $(filter $(OS), Cygwin MingW))
+  PARALLEL_DIRS := $(filter-out Hello, $(DIRS))
+endif
+
 include $(LEVEL)/Makefile.common
 
index 237da53bfb9de9a71810606e9f9f1c708916312f..756d7d58c3c783d27135305f61f89d3b7ab3750f 100644 (file)
@@ -31,4 +31,9 @@ ifeq ($(ENABLE_PIC),1)
   endif
 endif
 
+# No support for lto / gold on windows targets
+ifeq ($(OS), $(filter $(OS), Cygwin MingW))
+  DIRS := $(filter-out lto gold, $(DIRS))
+endif
+
 include $(LEVEL)/Makefile.common