|
From: | Andy Goth |
Subject: | [bug #19900] Target-specific variables not honored for rules generated by $(eval) |
Date: | Fri, 18 May 2007 17:08:16 +0000 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 |
URL: <http://savannah.gnu.org/bugs/?19900> Summary: Target-specific variables not honored for rules generated by $(eval) Project: make Submitted by: andygoth Submitted on: Friday 05/18/2007 at 17:08 Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 3.81 Operating System: Any Fixed Release: None _______________________________________________________ Details: Target-specific and pattern-specific variables don't seem to work within rules generated with the $(eval) function. Sample Makefile without $(eval): var := bad all: var := good all: @echo $(var) Running this will cause "good" to be printed. Sample Makefile with $(eval): var := bad all: var := good define template all: @echo $(var) endef $(eval $(template)) Running this will cause "bad" to be printed. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?19900> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |