make.defaults: negative incrementals in USE_EXPAND (530222)

Previously, USE_EXPAND variable settings in profile make.defaults only
supported positive incremental settings. This patch adds support for
negative settings like PYTHON_TARGETS="-python3_3", which brings
behavior into alignment with PMS.

Notably, this patch does not change behavior for settings in make.conf.
In make.conf, settings to USE_EXPAND variables remain entirely
non-incremental. PMS does not govern make.conf behavior.

X-Gentoo-Bug: 530222
Acked-by: Brian Dolbec <>
(cherry picked from commit b9c06a6a2dd4ccc875f8b9dd3139ea582e1e5621)
3 files changed
tree: f4b573c1e48149cc5b8b1f66d159ff4473afdc4d
  1. etc/
  2. usr/
  3. .gitignore
  4. setup_board