mirror of
https://salsa.debian.org/srivasta/make-dfsg.git
synced 2024-12-29 08:09:03 +00:00
Don't synchronize output for recursive make unless -Omake
This commit is contained in:
parent
19a69bafc0
commit
9acb657eb1
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2013-05-01 Paul Smith <psmith@gnu.org>
|
||||
|
||||
* job.c (start_job_command): Don't redirect output for recursive
|
||||
make jobs, unless we're in makefile synchronization mode.
|
||||
|
||||
2013-04-29 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* w32/include/dlfcn.h: New file.
|
||||
|
|
6
job.c
6
job.c
|
@ -1707,8 +1707,10 @@ start_job_command (struct child *child)
|
|||
#endif
|
||||
|
||||
#ifdef OUTPUT_SYNC
|
||||
/* Divert child output into tempfile(s) if output_sync in use. */
|
||||
if (output_sync)
|
||||
/* Divert child output if output_sync in use. Don't capture
|
||||
recursive make output unless we are synchronizing "make" mode. */
|
||||
if (output_sync && (output_sync == OUTPUT_SYNC_MAKE
|
||||
|| !(flags & COMMANDS_RECURSE)))
|
||||
{
|
||||
int outfd = fileno (stdout);
|
||||
int errfd = fileno (stderr);
|
||||
|
|
Loading…
Reference in a new issue