URL: <http://savannah.gnu.org/bugs/?18755>
Summary: exported var-define and var-define from command line should appear in $(shell ) env Project: make Submitted by: chjfth Submitted on: Thursday 01/11/07 at 10:23 Severity: 3 - Normal Item Group: Enhancement Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: None Fixed Release: None _______________________________________________________ Details: See the following makefile: ======= export EXVAR = exval _temp := $(shell echo "EXVAR = $${EXVAR}, CMDVAR = $${CMDVAR}" 1>&2) all: ======= ``make CMDVAR=cmdval'' currently outputs: ------- EXVAR = , CMDVAR = make: `all' is up to date. ------- But in some situation, the following output is expected: ------- EXVAR = exval, CMDVAR = cmdval make: `all' is up to date. ------- I encountered this problem when I was working on my GnumakeUniproc project in the past year(http://sf.net/projects/gnumakeuniproc), and I have to find a workaround for it -- unfortunately. I hope GNUmake's next version gives a option to enable my suggested behavior. By the way, an anonymous person has posted such issue two years ago. https://savannah.gnu.org/bugs/?10593 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?18755> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make