help-make
[Top][All Lists]
Advanced

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

Re: exported variables stopped working when migrating make from 4.0 to 4


From: Paul Smith
Subject: Re: exported variables stopped working when migrating make from 4.0 to 4.1
Date: Thu, 13 Apr 2017 18:19:21 -0400

On Thu, 2017-04-13 at 18:49 +0300, Juha Heinanen wrote:
> Perhaps someone can give a hint why exported variables stopped working
> when I upgraded from Debian Jessie, where make is 4.0, to Debian
> Stretch, where make is 4.1.

I can't explain this nor reproduce it.  On my system no matter what
version of GNU make I test with, all the way back to 3.77, I get the
same, expected behavior: the variable is not exported.

It should never be the case that the variable is exported, because
"INSTALL-TOUCH" is not a valid shell variable (which consist of "_" and
alphanumeric characters only and cannot start with a number).  GNU make
does not export variables that are not valid shell variables.

I can't explain why it seems to work for you in Jessie.  It doesn't work
for me in GNU make 4.0 (built on my system from original source).



reply via email to

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