mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Introduce --timelog=FILE flag to GNU Make
This commit is contained in:
parent
edb03b89d8
commit
c2db3b703a
7 changed files with 214 additions and 0 deletions
3
third_party/make/job.c
vendored
3
third_party/make/job.c
vendored
|
@ -1104,6 +1104,8 @@ reap_children (int block, int err)
|
|||
void
|
||||
free_childbase (struct childbase *child)
|
||||
{
|
||||
timelog_end (child->timelog);
|
||||
|
||||
if (child->environment != 0)
|
||||
{
|
||||
char **ep = child->environment;
|
||||
|
@ -1463,6 +1465,7 @@ start_job_command (struct child *child)
|
|||
|
||||
jobserver_pre_child (ANY_SET (flags, COMMANDS_RECURSE));
|
||||
|
||||
child->timelog = timelog_begin (argv);
|
||||
child->pid = child_execute_job ((struct childbase *)child,
|
||||
child->good_stdin, argv);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue