From: Matt Turner Date: Fri, 27 Jan 2012 16:00:24 +0000 (-0500) Subject: amd64.py: define CHOST for nocona and core2 X-Git-Tag: CATALYST-2.0.8~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8f879050d2029758c2f0536d41fccbd422c8c020;p=catalyst.git amd64.py: define CHOST for nocona and core2 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=400829 --- diff --git a/arch/amd64.py b/arch/amd64.py index aaf587ad..16974838 100644 --- a/arch/amd64.py +++ b/arch/amd64.py @@ -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):