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
Hi Paul,
POSIX documents MAKEFLAGS thusly:
Before the makefile(s) are read, all of the make utility command line
options (except -f and -p) and make utility command line macro
definitions (except any for the MAKEFLAGS macro), not already included
in the MAKEFLAGS macro, shall
I would agree that GNU make's behavior here is not according to the
standard... it looks like you're right: the flags that are in MAKEFLAGS
as a consequence of the initial invocation of make take precedence and
no extra flags that are added to a sub-make will be added to
MAKEFLAGS.
I tested back