Disable plugins / shared stuff generation on windows targets.
[oota-llvm.git] / tools / Makefile
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