help-make
[Top][All Lists]
Advanced

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

Re: How to stop a variable from being exported?


From: Boris Kolpackov
Subject: Re: How to stop a variable from being exported?
Date: Wed, 27 Oct 2004 12:50:19 -0500
User-agent: Mutt/1.5.6i

Paul D. Smith <address@hidden> writes:

> When you invoke a make with a specific value like this:
>
>     make selector=abc
>
> then the variable override static string "selector=abc" will be passed
> to every submake.  Whether you set your local copy of the "selector"
> variable in that version of make doesn't change the value of the command
> line string passed to sub-makes.

Not that I insist it's a bug, but, IMO, this logic is strange. When I say

override selector=cba

I would naturally expect the new value in every place that originated
from this makefile. Also I can't think of any scenario where current
logic might be useful.

-boris

Attachment: signature.asc
Description: Digital signature


reply via email to

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