Follow-up Comment #5, bug #63439 (project make): > Exactly how this difference comes to pass is beyond my ken, but there it is... in 4.3 the variable is empty whereas in 4.4 it is undefined.
MAKECMDGOALS is undefined in both. make-4.3 is not reporting the undefined variable, because setting 'MAKEFLAGS += --warn-undefined-variables' in makefile has not effect in make-4.3. Try passing --warn-undefined-variables on the command line and see that make-4.3 reports the undefined variable. i checked a few versions, down to 3.82, and they all report MAKECMDGOALS as undefined. Do you see a reason why make should not report MAKECMDGOALS as undefined in this case? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63439> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/