Files
LibreELEC.tv/packages/devel/make/patches/make-3.82-018-jobserver.patch
Stephan Raue 12a3f570c7 make: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
2014-01-02 15:38:30 +01:00

20 lines
575 B
Diff

diff -up make-3.82/main.c\~ make-3.82/main.c
--- make-3.82/main.c~ 2010-08-12 14:59:20.000000000 +0200
+++ make-3.82/main.c 2010-08-12 15:00:07.000000000 +0200
@@ -1756,8 +1756,11 @@ main (int argc, char **argv, char **envp
if (job_slots > 0)
{
- close (job_fds[0]);
- close (job_fds[1]);
+ if (restarts == 0)
+ {
+ close (job_fds[0]);
+ close (job_fds[1]);
+ }
job_fds[0] = job_fds[1] = -1;
free (jobserver_fds->list);
free (jobserver_fds);
Diff finished. Thu Aug 12 15:00:22 2010