Always add ARCH to USE without relying on it being listed
authorZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 02:11:18 +0000 (02:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 20 Dec 2007 02:11:18 +0000 (02:11 -0000)
in PORTAGE_ARCHLIST.

svn path=/main/trunk/; revision=8967

pym/portage/__init__.py

index 9079a052c04365a576aa391d313f713e22596540..771b642637e48a6ca043a47130134606c04f83ef 100644 (file)
@@ -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