Skip to content
Snippets Groups Projects
Commit a5b9278c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

contrib: rav1e: fix parallel build (fixes #26518)

Newer versions of GNU/make mark the job server pipe file descriptors
with the close-on-exec flag. This prevents the file descriptors from
being leaked into other programs executed by the children processes
of GNU/make.

But of course, the flip side is that the file descriptors are closed
even if the program is also a make-like tool that wants to participate
in the job counting and access the job server.

To support recursive make, GNU/make will clear the close-on-exec flag
in a child process that is about to execute a command:
- referencing the variable MAKE, or
- prefixed by a plus sign '+'.

In this particular case, the command is $(CARGO_VENDOR_SETUP), not
$(MAKE), so this does not work out of the box. Add an explicit plus.
parent 9772f309
No related branches found
No related tags found
1 merge request!1278contrib: rav1e: fix parallel build (fixes #26518)
Pipeline #182749 canceled with stage
in 18 minutes and 21 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment