[bug #2216] MAKEFLAGS not updated when it already exists

2013-05-13 Thread Paul D. Smith
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 not updated when it already exists?

2003-01-14 Thread Alexandre Duret-Lutz
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

Re: MAKEFLAGS not updated when it already exists?

2003-01-14 Thread Paul D. Smith
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