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

svn path=/main/branches/2.1.2/; revision=8968

pym/portage.py

index 367fa18677358881a3569de6adf4492acb29eb9c..54877e98a69250af365f5a1b4432d9f974b8d245 100644 (file)
@@ -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