On Mon, Apr 28, 2014 at 09:25:36AM -0700, Jonathan Nieder wrote: > > -STRIP ?= strip > > +STRIP = $(CROSS_COMPILE)strip > > Before, STRIP from the environment took precedence over STRIP from the > makefile. Switching to the more usual 'environment can't be trusted' > convention is a good change, but please mention it in the commit > message. Taken from [1]: > Simply expanded variables are defined by lines using ‘:=’ or ‘::=’ (see Setting Variables). > Both forms are equivalent in GNU make; however only the ‘::=’ form is described by the POSIX > standard (support for ‘::=’ was added to the POSIX standard in 2012, so older versions of make > won't accept this form either). > > The value of a simply expanded variable is scanned once and for all, expanding any references > to other variables and functions, when the variable is defined. The actual value of the simply > expanded variable is the result of expanding the text that you write. It does not contain any > references to other variables; it contains their values as of the time this variable was defined. > Therefore, > > x := foo > y := $(x) bar > x := later > is equivalent to > > y := foo bar > x := later > > When a simply expanded variable is referenced, its value is substituted verbatim. I don't see how it relates to environment precedence. Could you please provide me an example of a situation that changed due to my commit? [1]: http://www.gnu.org/software/make/manual/make.html#Flavors -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html