Follow-up Comment #2, bug #2216 (project make): I checked this. The problem only occurs with the -e flag, because by specifying -e you're explicitly saying that the value from the environment variable should supersede any value set in the makefile. GNU make is treating this as true for the MAKEFLAGS value obtained from the environment as well: if -e is on the command line and MAKEFLAGS is set in the environment it takes precedence over the value set in the makefile, or by make.
For other flags I've tried, such as -k etc., this behavior is not seen (the flags are passed down to sub-makes and not lost). The standard does not address this directly but I expect it intends for the override of the MAKEFLAGS environment variable using -e to not take effect (that is, GNU make's behavior here is wrong). _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?2216> _______________________________________________ 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