From a6abe13ef60da4f596965852ac57a2775e48c0ba Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Fri, 27 Jan 2012 11:00:24 -0500 Subject: [PATCH] amd64.py: define CHOST for nocona and core2 Fixes: https://bugs.gentoo.org/show_bug.cgi?id=400829 --- modules/catalyst/arch/amd64.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/catalyst/arch/amd64.py b/modules/catalyst/arch/amd64.py index bab57d3b..b4ac70e8 100644 --- a/modules/catalyst/arch/amd64.py +++ b/modules/catalyst/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): -- 2.26.2