Follow-up Comment #2, bug #36486 (project make):

This is a bug, but it's going to require some non-trivial effort to fix.  The
problem is that make is recursively walking down (or up, whichever you like)
the variable sets, and when it pops back out it returns only the value string
of the expanded content.  So, when we pop out of the recursion we have no way
to know that at the end (or the top) we found an "override" variable and we
shouldn't append anything to it.

To fix this we'll need to rework the returned values from the various variable
expansion functions so that more information, than just the value string, is
returned.  That kind of change may ripple throughout the codebase.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36486>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to