On Sun, Dec 12, 2021 at 2:15 PM Paul Smith <psm...@gnu.org> wrote:
> Did something happen when it stopped working, like you updated to a
> different version of GNU make?

i bet this make is built from the current git.

> Can you create a small, self-contained example that shows the problem you're 
> seeing?

i don't think this is related to second expansion. This is about
target specific variables of intermediate files.
here is an example which reproduces the problem.

all: hello.tsk
%.tsk: hello.x; $(info $@)
%.x:; $(flags)
hello.x: flags:=true

i posted a detailed description here
https://savannah.gnu.org/bugs/?48643#comment28.

On Thu, Dec 9, 2021 at 6:26 AM Gisle Vanem <gisle.va...@gmail.com> wrote:
> My problem is that 'EXTRA_CFLAGS' is NOT picked up by
> the above pattern compile rule when the .SECONDEXPANSION
> rule is used. This used to work for sure.

Thanks for your report.
If you need make from git you should apply
https://savannah.gnu.org/bugs/download.php?file_id=52483
and
https://savannah.gnu.org/bugs/download.php?file_id=52489

regards, Dmitry

Reply via email to