diff options
author | Paul Smith <psmith@gnu.org> | 2023-01-02 11:23:09 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2023-01-02 23:02:33 -0500 |
commit | 8791d2b38ec916ea4206d5cae3b0036bb440c918 (patch) | |
tree | 31cfa2e686c1924b26b32636fca03b4b32c9be86 /tests/run_make_tests | |
parent | f91b8bbb34ff210ad72bc529c9bd5c6102e27adc (diff) | |
download | make-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 'tests/run_make_tests')
0 files changed, 0 insertions, 0 deletions