bug-make
[Top][All Lists]
Advanced

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

Re: [bug #29757] Target-specific variables change their flavor


From: Philip Guenther
Subject: Re: [bug #29757] Target-specific variables change their flavor
Date: Fri, 25 Jun 2010 21:33:32 -0700

On Fri, Jun 25, 2010 at 2:03 PM, Vitaly Grechko <address@hidden> wrote:
> Follow-up Comment #1, bug #29757 (project make):
>
> I think you are wrong. Simple or deferred expansion is connected to operator,
> not variable.

Maybe in some other "*make" program, but not in GNU make.  To quote
the info pages:
----
   For the append operator, `+=', the right-hand side is considered
immediate if the variable was previously set as a simple variable
(`:='), and deferred otherwise.
----

> Variable does not know what way it was assigned.

They do in GNU make.  Note that += isn't standardized.


Philip Guenther



reply via email to

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