[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #32871] Incorrect content returned by $(value) in recipe for target
From: |
anonymous |
Subject: |
[bug #32871] Incorrect content returned by $(value) in recipe for target specific variable |
Date: |
Mon, 21 Mar 2011 19:11:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.2.15) Gecko/20110303 Ubuntu/10.10 (maverick) Firefox/3.6.15 |
URL:
<http://savannah.gnu.org/bugs/?32871>
Summary: Incorrect content returned by $(value) in recipe for
target specific variable
Project: make
Submitted by: None
Submitted on: Mon 21 Mar 2011 19:11:39 UTC
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 3.82
Operating System: POSIX-Based
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
If a global variable is added to as a target specific variable, then using
$(value ...) in a recipe gets the wrong value.
Given the attached makefile, when built with GNU Make 3.82 I get the following
output:
$(value DEFS) = FOO
$(DEFS) = BAR FOO
but I was expecting to get:
$(value DEFS) = BAR FOO
$(DEFS) = BAR FOO
Maybe I misunderstand the $(value) function, but as DEFS does not contain
reference to any other variable I was expecting the content of DEFS to be the
same as the expanded value of DEFS.
regards,
Rob.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 21 Mar 2011 19:11:39 UTC Name: makefile Size: 109B By: None
<http://savannah.gnu.org/bugs/download.php?file_id=22981>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?32871>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #32871] Incorrect content returned by $(value) in recipe for target specific variable,
anonymous <=