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=$$

[bug #65211] Fix load and loadapi tests.

2024-01-25 Thread Dmitry Goncharov
Additional Item Attachment, bug#65211 (group make): File name: sv65211.diff Size:1 KB AGPL NOTICE These attachments are served by Savane. You can download the corresponding source code of Savane at https:/

[bug #65211] Fix load and loadapi tests.

2024-01-25 Thread Dmitry Goncharov
Follow-up Comment #1, bug#65211 (group make): load and loadapi tests fail when compiler complains about unused variables. E.g. $ cat work/features/load/t004.diff *** t004.base Thu Jan 25 17:30:36 2024 --- t004.logThu Jan 25 17:30:36 2024 *** *** 1,2 --- 1,10 rebuild

[bug #65211] Fix load and loadapi tests.

2024-01-25 Thread Dmitry Goncharov
URL: Summary: Fix load and loadapi tests. Group: make Submitter: dgoncharov Submitted: Thu 25 Jan 2024 10:39:03 PM UTC Severity: 3 - Normal Item Group: Bug

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

Behavior change related to MAKEFLAGS and recursive make in version 4.4.1

2024-01-25 Thread Ouellette, Paul
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=$$VAR" $(info make VAR=$(VAR)) With GNU Make 4.4 and older, the output is: