]> git.ipfire.org Git - thirdparty/make.git/commit
Ensure that MAKEFLAGS is set when invoking $(shell ...)
authorPaul Smith <psmith@gnu.org>
Sat, 16 Jul 2022 23:43:34 +0000 (19:43 -0400)
committerPaul Smith <psmith@gnu.org>
Sat, 30 Jul 2022 22:40:28 +0000 (18:40 -0400)
commit77881d2281035e2ace1e30800ff3528e1ef1fd98
tree9d2cd194fed0a280d9724642793b56d9ca0b848a
parent2fe96e4a410c346483a20376e58c40e63887d652
Ensure that MAKEFLAGS is set when invoking $(shell ...)

* src/main.c (main): Don't reset the jobserver if the number of
slots has not changed.
(define_makeflags): Add all normal flags even when ALL is not set.
* tests/scripts/functions/shell: Test invoking make in $(shell ...).
* tests/scripts/variables/MAKEFLAGS: Test the value of MAKEFLAGS in
$(shell ...).
src/main.c
tests/scripts/functions/shell
tests/scripts/variables/MAKEFLAGS