Follow-up Comment #3, bug #9060 (project make):

Specifying MAKEFLAGS += --warn-undefined-variables within a Makefile is not
equivalent to specifying the same option on the command-line.

Test case:

MAKEFLAGS += --warn-undefined-variables
$(foo):
        @echo foo
bar:
        @echo $(bar)

This bug has a long history of confusing users:
http://lists.gnu.org/archive/html/bug-make/2002-08/msg00063.html
http://lists.gnu.org/archive/html/bug-make/2003-04/msg00015.html
http://lists.gnu.org/archive/html/help-make/2011-06/msg00027.html
http://lists.gnu.org/archive/html/help-make/2013-01/msg00015.html


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?9060>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to