summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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