Yes, that's the suggestion I was making though I don't know the innards of
make well enough to know how hard it would be.

David

On Tue, Jun 9, 2020 at 9:21 AM Dmitry Goncharov <dgoncha...@users.sf.net>
wrote:

> On Tue, Jun 9, 2020 at 12:01 PM David Boyce <david.s.bo...@gmail.com>
> wrote:
> > When I say "needed" here I mean specifically that the recipe runs.
> Clearly a target-specific variable is 'needed' iff the target is built.
> It's not a question of how many places the variable is expanded, it's a
> boolean thing: the target is built or not built, the target-specific
> variable is needed or not.
>
> You mean for target specific simple variable memory is allocated and
> the variable is initialized only if the target is built, right?
> Looks reasonable to me.
>
> regards, Dmitry
>
  • simple assign... David Boyce
    • Re: simp... Edward Welbourne
      • Re: ... Dmitry Goncharov via Bug reports and discussion for GNU make
    • Re: simp... Dmitry Goncharov via Bug reports and discussion for GNU make
      • Re: ... David Boyce
        • ... Dmitry Goncharov via Bug reports and discussion for GNU make
          • ... David Boyce
            • ... Dmitry Goncharov via Bug reports and discussion for GNU make

Reply via email to