From: Anton Korobeynikov Date: Wed, 11 Mar 2009 19:49:42 +0000 (+0000) Subject: Disable plugins / shared stuff generation on windows targets. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=ad9d21a9527ab8a236e11b6f83bbf67a7a97406d;p=oota-llvm.git Disable plugins / shared stuff generation on windows targets. 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 --- diff --git a/lib/Transforms/Makefile b/lib/Transforms/Makefile index bfdb2bf81d9..32ac9fc911e 100644 --- a/lib/Transforms/Makefile +++ b/lib/Transforms/Makefile @@ -10,5 +10,10 @@ 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 diff --git a/tools/Makefile b/tools/Makefile index 237da53bfb9..756d7d58c3c 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -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