summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-12-20 02:17:34 +0000
committerZac Medico <zmedico@gentoo.org>2007-12-20 02:17:34 +0000
commit34b8c801c3acbdeaf8c843545e00b9adb414d00c (patch)
treede012262469cb6904f1a71d7024ed9e7fade99e3 /pym
parent071ec2f3421763c01bef422ebcb5a960a7007b17 (diff)
downloadportage-34b8c801c3acbdeaf8c843545e00b9adb414d00c.tar.gz
portage-34b8c801c3acbdeaf8c843545e00b9adb414d00c.tar.bz2
portage-34b8c801c3acbdeaf8c843545e00b9adb414d00c.zip
Always add ARCH to USE without relying on it being listed
in PORTAGE_ARCHLIST. (trunk r8967) svn path=/main/branches/2.1.2/; revision=8968
Diffstat (limited to 'pym')
-rw-r--r--pym/portage.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/portage.py b/pym/portage.py
index 367fa1867..54877e98a 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -2383,6 +2383,8 @@ class config:
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