[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #35468] Pattern-specific private variable addition doesn't work
From: |
anonymous |
Subject: |
[bug #35468] Pattern-specific private variable addition doesn't work |
Date: |
Tue, 07 Feb 2012 17:41:58 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20100101 Firefox/10.0 |
URL:
<http://savannah.gnu.org/bugs/?35468>
Summary: Pattern-specific private variable addition doesn't
work
Project: make
Submitted by: None
Submitted on: Tue 07 Feb 2012 17:41:57 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:
I'm using GNU Make version 3.82 + the fix for bug#32872 (thanks for that).
Although the specific case in bug#32872 is fixed, I still see a problem
relating to pattern specific private variables.
With the following makefile (also attached):
%: P += pattern
%: private PP += pattern private
all: S += static
all: private SP += static private
all: ; @echo P=$(P); echo PP=$(PP); echo S=$(S); echo SP=$(SP)
I get the following output when building all:
P=pattern
PP=
S=static
SP=static private
However I expected to see:
P=pattern
PP=pattern private
S=static
SP=static private
It seems that addition with pattern-specific variables doesn't work if that
variable is marked as private. It does work if the variable is not private or
if using static target-specific variables, so I think the pattern-specific
private variable addition should also work.
regards,
Rob.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 07 Feb 2012 17:41:57 UTC Name: makefile Size: 163B By: None
<http://savannah.gnu.org/bugs/download.php?file_id=25002>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35468>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #35468] Pattern-specific private variable addition doesn't work,
anonymous <=