|
From: | Paul D. Smith |
Subject: | [bug #54727] foreach variable is not visible for a target specific variable definition in a recipe |
Date: | Tue, 25 Sep 2018 11:57:52 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 |
Update of bug #54727 (project make): Item Group: Bug => Enhancement _______________________________________________________ Follow-up Comment #1: This will definitely never work. By the time we expand the recipe all target-specific variables for that recipe have already been assigned: it's not possible for the recipe to add more target-specific variables to it's target and have those take effect. If you try to define a new target inside a recipe you'll get a fatal error. I'm not sure how hard it would be to know whether you're defining a new target-specific variable for the current target inside it's recipe and generate an error or warning. I'll leave this open as an enhancement request to get better messaging around this situation. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?54727> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |