VirtualBox

Changeset 3396 in kBuild for trunk


Ignore:
Timestamp:
Jul 2, 2020 8:31:17 AM (5 years ago)
Author:
bird
Message:

kmk/main.c: Corrected KMK_OPTS_JOBS to try avoid zero value for the top make. Added KMK_OPTS_JOBS_DEFAULT for reference.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/main.c

    r3389 r3396  
    41154115  {
    41164116    char val[32];
    4117     sprintf (val, "%u", job_slots);
     4117    sprintf (val, "%u", job_slots ? job_slots : master_job_slots);
    41184118    define_variable_cname ("KMK_OPTS_JOBS", val, o_default, 1);
     4119    sprintf (val, "%u", default_job_slots);
     4120    define_variable_cname ("KMK_OPTS_JOBS_DEFAULT", val, o_default, 1);
    41194121    define_variable_cname ("KMK_OPTS_KEEP_GOING", keep_going_flag ? "1" : "0", o_default, 1);
    41204122    define_variable_cname ("KMK_OPTS_JUST_PRINT", just_print_flag ? "1" : "0", o_default, 1);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette