Blame SOURCES/make-4.2-j8k.patch

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