summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2023-01-02 11:23:09 -0500
committerPaul Smith <psmith@gnu.org>2023-01-02 23:02:33 -0500
commit8791d2b38ec916ea4206d5cae3b0036bb440c918 (patch)
tree31cfa2e686c1924b26b32636fca03b4b32c9be86 /NEWS
parentf91b8bbb34ff210ad72bc529c9bd5c6102e27adc (diff)
downloadmake-git-8791d2b38ec916ea4206d5cae3b0036bb440c918.tar.gz
[SV 61463] Don't export inherited private variables
If a parent target has an exported variable that is private, don't export it in child targets. * NEWS: Mention this change. * src/variable.c (target_environment): Ignore private inherited variables. * tests/thelp.pl: Add a new "env" operation to show env.var. values. * tests/scripts/variables/private: Verify this new behavior.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cb68428e..6e9482b8 100644
--- a/NEWS
+++ b/NEWS
@@ -17,13 +17,18 @@ A complete list of bugs fixed in this version is available here:
https://sv.gnu.org/bugs/index.php?group=make&report_id=111&fix_release_id=110&set=custom
* WARNING: Backward-incompatibility!
- In previous releases is was not well-defined when updates to MAKEFLAGS made
+ In previous releases it was not well-defined when updates to MAKEFLAGS made
inside a makefile would be visible. This release ensures they are visible
immediately, even when invoking $(shell ...) functions. Also, command line
variable assignments are now always present in MAKEFLAGS, even when parsing
makefiles.
Implementation provided by Dmitry Goncharov <dgoncharov@users.sf.net>
+* Previously target-specific variables would inherit their "export" capability
+ from parent target-specific variables even if they were marked private. Now
+ private parent target-specific variables have no affect. For more details
+ see https://savannah.gnu.org/bugs/index.php?61463
+
Version 4.4 (31 Oct 2022)