[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

From: Paul D. Smith
Subject: [bug #2216] MAKEFLAGS not updated when it already exists
Date: Mon, 13 May 2013 06:01:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31

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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]