Blame SOURCES/make-4.2-j8k.patch

595530
diff -Nrup a/main.c b/main.c
595530
--- a/main.c	2016-05-31 03:17:26.000000000 -0400
595530
+++ b/main.c	2016-09-22 16:18:52.283889265 -0400
595530
@@ -2051,6 +2051,21 @@ main (int argc, char **argv, char **envp
595530
     }
595530
 #endif
595530
 
595530
+#ifdef PIPE_BUF
595530
+  if (job_slots > PIPE_BUF)
595530
+#elif defined _POSIX_PIPE_BUF
595530
+  if (job_slots > _POSIX_PIPE_BUF)
595530
+#else
595530
+  if (job_slots > 512)
595530
+#endif
595530
+    {
595530
+      O (error, NILF,
595530
+            _("More parallel jobs (-jN) than this platform can handle requested."));
595530
+      O (error, NILF, _("Resetting to single job (-j1) mode."));
595530
+      job_slots = 1;
595530
+    }
595530
+
595530
+
595530
   /* If we have >1 slot at this point, then we're a top-level make.
595530
      Set up the jobserver.
595530