diff options
-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 |