diff options
author | Zac Medico <zmedico@gentoo.org> | 2021-02-18 21:51:43 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2021-02-21 21:26:53 -0800 |
commit | 784d2c19f2d62982db16af9055bdab6b595a661b (patch) | |
tree | 9e7d63e275c3a91cea51c50f36c0f1ab0ad3cd14 /runtests | |
parent | ci: upgrade to pypy-3.7-v7.3.3 (diff) | |
download | portage-784d2c19f2d62982db16af9055bdab6b595a661b.tar.gz portage-784d2c19f2d62982db16af9055bdab6b595a661b.tar.bz2 portage-784d2c19f2d62982db16af9055bdab6b595a661b.zip |
make.defaults: prevent USE="${USE} ..." misbehavior
Discard parent profile USE from the expand_map variable before
it is used to evaluate a child profile. This prevents accidents
triggered by USE="${USE} ..." settings at the top of make.defaults
which caused parent profile USE to override parent profile
package.use settings.
Note that would be nice to guard the USE_EXPAND variables like
this too, but unfortunately USE_EXPAND is not known until after
make.defaults has been evaluated, so that will require some form
of make.defaults preprocessing.
Bug: https://bugs.gentoo.org/771549
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'runtests')
0 files changed, 0 insertions, 0 deletions