Issue the warning about being slow whenever optimization is disabled,
[oota-llvm.git] / runtime / Makefile
index a1b89af3780f42602f2e797fc74a34351fa3f447..d0e85d58264f6c9fb034565ac58bb7e781e8f030 100644 (file)
@@ -10,6 +10,8 @@
 LEVEL = ..
 include $(LEVEL)/Makefile.config
 
+ifndef NO_RUNTIME_LIBS
+
 PARALLEL_DIRS  := libprofile
 
 # Disable libprofile: a faulty libtool is generated by autoconf which breaks the
@@ -18,7 +20,12 @@ ifeq ($(ARCH), Sparc)
 PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
 endif
 
+ifeq ($(TARGET_OS), $(filter $(TARGET_OS), Cygwin MingW Minix))
+PARALLEL_DIRS := $(filter-out libprofile, $(PARALLEL_DIRS))
+endif
+
+endif
+
 include $(LEVEL)/Makefile.common
 
 install::
-