Summary: Make shouldn't be running eval when expanding
variables for export
Submitted by: mark_galeck0
Submitted on: Thu 06 Jun 2019 01:47:17 AM UTC
Severity: 3 - Normal
Item Group: Enhancement
Assigned to: None
Discussion Lock: Any
Component Version: 4.2.1
Operating System: None
Fixed Release: None
Triage Status: None
[bug #56446] Make shouldn't be running eval when expanding variables for export
Follow-up Comment #1, bug #56446 (project make):
Yes, _.EXPORT_ALL_VARIABLES_ should at least be *documented* for its danger
regarding (forced) early expansion with the very first recipe being executed.
This also breaks most usage of functions like _error_ in variables.
As for this example, at least _unexport FUNCTION2_ helps here.