diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-03-11 19:49:42 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-03-11 19:49:42 +0000 |
commit | 20acb4a30b48b5be700804af5408fd8bcf992dd2 (patch) | |
tree | 64afda7b9e0b0f3f7a9fc299f7178489cec3f771 | |
parent | d0cec7a94cb0bc03fff385cd2dd4398bac4a2470 (diff) | |
download | external_llvm-20acb4a30b48b5be700804af5408fd8bcf992dd2.zip external_llvm-20acb4a30b48b5be700804af5408fd8bcf992dd2.tar.gz external_llvm-20acb4a30b48b5be700804af5408fd8bcf992dd2.tar.bz2 |
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
-rw-r--r-- | lib/Transforms/Makefile | 5 | ||||
-rw-r--r-- | tools/Makefile | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/Transforms/Makefile b/lib/Transforms/Makefile index bfdb2bf..32ac9fc 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 237da53..756d7d5 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 |