Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.bin/make



Module Name:    src
Committed By:   sjg
Date:           Wed May 28 20:18:46 UTC 2025

Modified Files:
        src/usr.bin/make: main.c
        src/usr.bin/make/unit-tests: opt-jobs-internal.exp

Log Message:
make: delay warning about bogus -J flag

In MainParseArgJobsInternal just set bogusJflag to indicate
that the descriptors passed were invalid.

By the time we get to InitMaxJobs the command line and indeed
the makefile have had a chance to put us in compat mode,
in which case the warning is unnecessary.
Add suggestion of -B if compat mode is desired in the sub-make.

Reviewed by: rillig


To generate a diff of this commit:
cvs rdiff -u -r1.654 -r1.655 src/usr.bin/make/main.c
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/opt-jobs-internal.exp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index