Fix -jX when makefiles are remade.
This commit is contained in:
parent
da31e3aa04
commit
cb0ed6eefb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173919
@ -808,6 +808,22 @@ Remake_Makefiles(void)
|
||||
printf("`%s' not remade because of errors.\n",
|
||||
gn->name);
|
||||
error_cnt++;
|
||||
} else if (gn->made == UPTODATE) {
|
||||
Lst examine;
|
||||
|
||||
Lst_Init(&examine);
|
||||
Lst_EnQueue(&examine, gn);
|
||||
while (!Lst_IsEmpty(&examine)) {
|
||||
LstNode *eln;
|
||||
GNode *egn = Lst_DeQueue(&examine);
|
||||
|
||||
egn->make = FALSE;
|
||||
LST_FOREACH(eln, &egn->children) {
|
||||
GNode *cgn = Lst_Datum(eln);
|
||||
|
||||
Lst_EnQueue(&examine, cgn);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user