Follow-up Comment #7, bug #57676 (project make):
We also triggered this bug in Buildroot, where our Makefile does something
that can be reduced to this simple Makefile:
-include foo
$(shell echo 'VAR?=$(VAR)' >foo)
include foo
all:
@echo 'VAR="$(VAR)"'
which allows us to memorise variables passed by the user so they don't have to
pass them over and over again.
This has worked great since the make 3.81 era up till now, but make 4.3 broke
that.
We wrote it thusly because we wanted to avoid rescanning the Makefile to
generate the file, as the Makefile is not clean to rescan (there are side
effects, unfortunately...).
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57676>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/