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

2010-06-25 Thread Vitaly Grechko

Follow-up Comment #1, bug #29757 (project make):

I think you are wrong. Simple or deferred expansion is connected to operator,
not variable. Variable does not know what way it was assigned. To get what you
want you can use :+= implemented in 'Fastmake' tool. Unfortunately this
operator is not implemented in GNU make yet.

___

Reply to this item at:

  http://savannah.gnu.org/bugs/?29757

___
  Message sent via/by Savannah
  http://savannah.gnu.org/


___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make


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

2010-06-25 Thread Philip Guenther
On Fri, Jun 25, 2010 at 2:03 PM, Vitaly Grechko invalid.nore...@gnu.org 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

___
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make