]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Use right CFLAGS for given arch.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Mar 2010 13:23:18 +0000 (14:23 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 20 Mar 2010 13:23:18 +0000 (14:23 +0100)
naoki/chroot.py

index 1ff3afd39fc082f463ed06c92403bb8120b7d891..cc23624d445f2a97c3be4a0db987c01d335c9d64 100644 (file)
@@ -116,6 +116,8 @@ class Environment(object):
                                                                         % { "arch" : self.arch["name"], },
                                "BUILDROOT"      : "/%s" % self.buildroot,
                                "CHROOT"         : "1",
+                               "CFLAGS"         : self.arch["cflags"],
+                               "CXXFLAGS"       : self.arch["cxxflags"],
                        })
 
                        if os.path.exists(self.chrootPath("usr", "ccache")):