Follow-up Comment #6, bug #63686 (project make): There are a few issues with overriding MAKEFLAGS in the makefile.
First, MAKEFLAGS are by definition passed to recursive makes. So if you set an error flag in a parent make, it will be set in the recursive makes as well. It would be difficult to avoid this for the user. Second, MAKEFLAGS set inside the makefile would take precedence over flags given on the command line, because warning options are cumulative with the "last value set wins". So if your command line said "--warn=ignore" but your makefile had "MAKEFLAGS += --warn=error", the latter would take precedence because the command line values are set first, then the addition happens when the makefile is parsed. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63686> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/