tech-toolchain archive

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

Re: make -V default behavior change



On Mon, Jun 19, 2017 at 12:10:35PM -0400, Christos Zoulas wrote:
> On Jun 19,  6:03pm, joerg%bec.de@localhost (Joerg Sonnenberger) wrote:
> -- Subject: Re: make -V default behavior change
> 
> | On Mon, Jun 19, 2017 at 11:11:38AM -0400, Christos Zoulas wrote:
> | > I just changed the default behavior 'make -V <VARIABLE>' to print
> | > the expanded variable name instead of the raw variable name.
> | 
> | I don't see any point in making the -V code more complicated. It can
> | just as easily be a new option '-v' and the questionable -dV can go.
> 
> The code is identical to what it was before with the only thing I changed
> is this:
> 
> -                expandVars = getBoolean(".MAKE.EXPAND_VARIABLES", FALSE);
> +                expandVars = getBoolean(".MAKE.EXPAND_VARIABLES", TRUE);

So what happens if .MAKE.EXPAND_VARIABLES is set? Can we really please
just go back to the original behavior and add a new option that *always*
expands the variable?

Joerg


Home | Main Index | Thread Index | Old Index