Follow-up Comment #3, bug #63439 (project make): It's true that the same issue exists for this, but in this case it's not a regression. It also warned in previous releases:
~$ make --version GNU Make 4.3 ~$ echo 'all:;echo $(GNUMAKEFLAGS)' | make -f- --warn-undefined-variables echo ~$ echo 'all:;echo $(MAKECMDGOALS)' | make -f- --warn-undefined-variables /tmp/GmXydHev:1: warning: undefined variable 'MAKECMDGOALS' echo I think we're going to need a more generic way to disable warnings for certain variables that should not be warned about if they're not set. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63439> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/