bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #18755] exported var-define and var-define from command line should


From: Jun Chen
Subject: [bug #18755] exported var-define and var-define from command line should appear in $(shell ) env
Date: Thu, 11 Jan 2007 02:23:17 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Maxthon; .NET CLR 1.1.4322)

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]