Re: Behavior change related to MAKEFLAGS and recursive make in version 4.4.1

2024-01-25 Thread Dmitry Goncharov
On Thu, Jan 25, 2024 at 12:39 PM Ouellette, Paul wrote: > > Hello, > > Consider the following makefiles: > $ cat Makefile > MAKEFLAGS+=VAR=foo > all: > $(info make VAR=$(VAR)) > @echo "env VAR=$$VAR" > $(MAKE) -C lib > $ cat lib/Makefile > all: > @echo "env VAR=$$

Re: Behavior change related to MAKEFLAGS and recursive make in version 4.4.1

2024-01-25 Thread Martin Dorey
I can reproduce the behavior with today's git code (modulo the one unpushed change of Dmitry's that has my +1, https://savannah.gnu.org/bugs/index.php?64259). Rereading https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html, I think you've got a case. My two cents is ha