Move the call to Job_SetPrefix() to Job_Init() so that

makefiles have had a chance to set .MAKE.JOB.PREFIX
This commit is contained in:
Simon J. Gerraty 2013-08-04 07:10:16 +00:00
parent 7dce7544fc
commit d191243d90
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253925
2 changed files with 1 additions and 1 deletions

View File

@ -2214,6 +2214,7 @@ Job_SetPrefix(void)
void
Job_Init(void)
{
Job_SetPrefix();
/* Allocate space for all the job info */
job_table = bmake_malloc(maxJobs * sizeof *job_table);
memset(job_table, 0, maxJobs * sizeof *job_table);

View File

@ -1026,7 +1026,6 @@ main(int argc, char **argv)
snprintf(pn, sizeof(pn), "%s[%d]", progname, makelevel);
progname = bmake_strdup(pn);
}
Job_SetPrefix();
#ifdef USE_META
meta_init();