amd64.py: define CHOST for nocona and core2
authorMatt Turner <mattst88@gmail.com>
Fri, 27 Jan 2012 16:00:24 +0000 (11:00 -0500)
committerMatt Turner <mattst88@gmail.com>
Fri, 27 Jan 2012 16:00:24 +0000 (11:00 -0500)
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=400829

modules/catalyst/arch/amd64.py

index bab57d3b3596dd5d41abdb36d54c6dab1a63b400..b4ac70e88b3ad70e825726ff7b3a85d82ed5aa3f 100644 (file)
@@ -20,6 +20,7 @@ class arch_nocona(generic_amd64):
        def __init__(self,myspec):
                generic_amd64.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -march=nocona -pipe"
+               self.settings["CHOST"]="x86_64-pc-linux-gnu"
                self.settings["HOSTUSE"]=["mmx","sse","sse2"]
 
 # Requires gcc 4.3 to use this class
@@ -28,6 +29,7 @@ class arch_core2(generic_amd64):
        def __init__(self,myspec):
                generic_amd64.__init__(self,myspec)
                self.settings["CFLAGS"]="-O2 -march=core2 -pipe"
+               self.settings["CHOST"]="x86_64-pc-linux-gnu"
                self.settings["HOSTUSE"]=["mmx","sse","sse2","ssse3"]
 
 class arch_k8(generic_amd64):