On Thu, 2021-12-09 at 12:25 +0100, Gisle Vanem wrote:
> Since some time the cool '.SECONDEXPANSION' feature has stopped
> working for me.

Did something happen when it stopped working, like you updated to a
different version of GNU make?

>  In a Makefile, I have many rules to link module .DLLs:
> 
> 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.

I can't understand the piece of the makefile you provided.  I don't see
anything immediately wrong with it, but I haven't been able to
reproduce this problem in my own experiments.  Can you create a small,
self-contained example that shows the problem you're seeing?

> BTW. Perhaps my problem is related to:
>    https://savannah.gnu.org/bugs/?60799

As far as I can see from your example you don't have either ";" or "#"
anywhere in any of your prerequisites so I don't see how that issue
would be related.


Reply via email to