bug-make
[Top][All Lists]
Advanced

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

Re: Unexpected failure in tricky use of eval


From: Stefano Lattarini
Subject: Re: Unexpected failure in tricky use of eval
Date: Sat, 12 May 2012 19:42:32 +0200

On 05/12/2012 05:21 PM, Stefano Lattarini wrote:
> On 05/12/2012 04:41 PM, Eldar Abusalimov wrote:
>> Stefano,
>>
>> This is a bug, and it has been described and fixed here:
>> https://savannah.gnu.org/patch/?7534
>>
> Thank you very much for the reference.  Too bad this bug will prevent
> me from using the lazy-evaluation trick with any GNU make < 3.83 :-(
> 
BTW: to make it more easy to discover at make runtime whether the bug has
been fixed in the make version in use, could a proper new entry be added
to .FEATURES?  Maybe 'can-have-lazy-variables'?  (I know, I suck at choosing
names).

Better again: would you consider the possibility of adding a new kind
of variables (let's call them "lazy"), so that a definition like:

    LAZYVAR = val

behaves exactly as:

    LAZYVAR = $(override LAZYVAR := val)$(LAZY)

WDYT?

Regards,
  Stefano



reply via email to

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