New conditional assignment facility

2024-01-10 Thread Paul Smith
I've implemented a new capability for conditional assignments (not pushed yet). After these changes, a "?" can precede any type of assignment operation, not just "=", and make it conditional (that is, it only takes effect if the variable is not already set). So for example, in addition to "?=" wh

Re: Handling of MAKEFLAGS

2024-01-10 Thread Dmitry Goncharov
On Wed, Jan 10, 2024 at 5:46 PM Paul Smith wrote: > > On Wed, 2024-01-10 at 17:20 -0500, Dmitry Goncharov wrote: > > Investigating why I discovered the issue was as I mentioned below; once > we have set the flag for -e (the env_overrides global variable) there's > no way to unset it. > What I was

Re: Handling of MAKEFLAGS

2024-01-10 Thread Paul Smith
On Wed, 2024-01-10 at 17:20 -0500, Dmitry Goncharov wrote: > > As an example, for the -e change I experimented with simply going > > through the variable database and switching the origin from o_env > > to o_env_override or vice versa. > > Do you mean an alternative fix for > https://savannah.gnu.

Re: Handling of MAKEFLAGS

2024-01-10 Thread Dmitry Goncharov
On Tue, Jan 9, 2024 at 5:35 PM Paul Smith wrote: > Hi Dmitry; Good morning, Paul. > As an example, for the -e change I experimented with simply going > through the variable database and switching the origin from o_env to > o_env_override or vice versa. Do you mean an alternative fix for https

[bug #64822] Fix appending to a pattern specific variable.

2024-01-10 Thread Dmitry Goncharov
Follow-up Comment #4, bug#64822 (group make): Paul, please do not apply the attached patch. I prepared a more extensive test and another patch, to cover more cases. Going to attach the new patch in a few days. ___ Reply to this item at: