[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #56446] Make shouldn't be running eval when expanding variables for
From: |
Mark Galeck |
Subject: |
[bug #56446] Make shouldn't be running eval when expanding variables for export |
Date: |
Wed, 5 Jun 2019 21:47:18 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 |
URL:
<https://savannah.gnu.org/bugs/?56446>
Summary: Make shouldn't be running eval when expanding
variables for export
Project: make
Submitted by: mark_galeck0
Submitted on: Thu 06 Jun 2019 01:47:17 AM UTC
Severity: 3 - Normal
Item Group: Enhancement
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Component Version: 4.2.1
Operating System: None
Fixed Release: None
Triage Status: None
_______________________________________________________
Details:
This is a good Makefile (SSCCE example) that nevertheless bombs:
define FUNCTION
target: $1
endef
FUNCTION2 = $(eval $(call FUNCTION,$1))
.EXPORT_ALL_VARIABLES:
all:
echo OK
Now when you make this, you get:
Makefile:5: *** prerequisites cannot be defined in recipes. Stop.
Paul Smith suggested I file this request for enhancement: Make shouldn't be
running eval when expanding variables for export.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?56446>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #56446] Make shouldn't be running eval when expanding variables for export,
Mark Galeck <=