slackware-current/source/d/make/make-4.3-j8k.patch
Patrick J Volkerding 3e99129ce3 Mon Jan 25 20:42:50 UTC 2021
a/openssl10-solibs-1.0.2u-x86_64-2.txz:  Removed.
d/make-4.3-x86_64-2.txz:  Rebuilt.
  We'll upgrade to make-4.3 again (with a few patches from Fedora) since this
  is now working with all the sources that we ship.
l/gst-plugins-base0-0.10.36-x86_64-4.txz:  Removed.
l/gst-plugins-good0-0.10.31-x86_64-4.txz:  Removed.
l/gstreamer0-0.10.36-x86_64-3.txz:  Removed.
l/libcap-2.47-x86_64-1.txz:  Upgraded.
l/libsamplerate-0.2.1-x86_64-1.txz:  Upgraded.
l/libvisual-plugins-0.4.0-x86_64-6.txz:  Rebuilt.
  Drop actor_gstreamer.so (requires gstreamer0).
l/mozjs78-78.7.0esr-x86_64-1.txz:  Upgraded.
l/talloc-2.3.2-x86_64-1.txz:  Upgraded.
n/NetworkManager-1.28.0-x86_64-4.txz:  Rebuilt.
  Rebuilt for ppp-2.4.9.
n/openssl10-1.0.2u-x86_64-2.txz:  Removed.
n/ppp-2.4.9-x86_64-1.txz:  Upgraded.
n/rp-pppoe-3.14-x86_64-3.txz:  Rebuilt.
  Rebuilt for ppp-2.4.9.
x/ibus-libpinyin-1.12.0-x86_64-1.txz:  Upgraded.
x/ibus-table-1.12.4-x86_64-1.txz:  Upgraded.
x/libpinyin-2.6.0-x86_64-1.txz:  Upgraded.
xap/mozilla-firefox-78.7.0esr-x86_64-1.txz:  Upgraded.
  This release contains security fixes and improvements.
  For more information, see:
    https://www.mozilla.org/en-US/firefox/78.7.0/releasenotes/
  (* Security fix *)
xfce/xfce4-whiskermenu-plugin-2.5.3-x86_64-1.txz:  Upgraded.
2021-01-26 08:59:51 +01:00

25 lines
690 B
Diff

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