summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-20 02:11:18 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-20 02:11:18 +0000
commit964b2948033b2785ac768b0f1fd48611619fab7d (patch)
treecbc733a0d40a268c3d6ae77633565549e461979f
parent12f47b21edb2c1c1841d86d33af2f636b7c598d5 (diff)
downloadportage-964b2948033b2785ac768b0f1fd48611619fab7d.tar.gz
portage-964b2948033b2785ac768b0f1fd48611619fab7d.tar.bz2
portage-964b2948033b2785ac768b0f1fd48611619fab7d.zip
Always add ARCH to USE without relying on it being listed
in PORTAGE_ARCHLIST. svn path=/main/trunk/; revision=8967
-rw-r--r--pym/portage/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 9079a052c..771b64263 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2402,6 +2402,8 @@ class config(object):
iuse_implicit = set(iuse)
# Flags derived from ARCH.
+ if arch:
+ iuse_implicit.add(arch)
iuse_implicit.update(self.get("PORTAGE_ARCHLIST", "").split())
# Flags derived from USE_EXPAND_HIDDEN variables