]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Export PKG_ARCH to environment.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Mar 2010 15:31:48 +0000 (16:31 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Mar 2010 15:31:48 +0000 (16:31 +0100)
naoki/chroot.py

index cc23624d445f2a97c3be4a0db987c01d335c9d64..2a108842da425103e8be4e9fd1e63b763eb39cd6 100644 (file)
@@ -118,6 +118,7 @@ class Environment(object):
                                "CHROOT"         : "1",
                                "CFLAGS"         : self.arch["cflags"],
                                "CXXFLAGS"       : self.arch["cxxflags"],
+                               "PKG_ARCH"       : self.arch["name"],
                        })
 
                        if os.path.exists(self.chrootPath("usr", "ccache")):