Fix the build under Debian GNU/Hurd.
[oota-llvm.git] / runtime / Makefile
index 6b3b95b7d70321c610f1ef9bc58a525b9a5cffa2..d0e85d58264f6c9fb034565ac58bb7e781e8f030 100644 (file)
@@ -20,8 +20,12 @@ ifeq ($(ARCH), Sparc)
 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
 endif
 
-include $(LEVEL)/Makefile.common
+ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
+PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
+endif
 
 endif
 
+include $(LEVEL)/Makefile.common
+
 install::