aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-01-27 11:00:24 -0500
committerMatt Turner <mattst88@gmail.com>2012-01-27 11:02:25 -0500
commit8f879050d2029758c2f0536d41fccbd422c8c020 (patch)
treeacee858bab9eade221bab8b1dc60db257398fe9c /arch
parentMake sure portage updates itself at the start of stage1 - thanks to Zac for n... (diff)
downloadcatalyst-8f879050d2029758c2f0536d41fccbd422c8c020.tar.gz
catalyst-8f879050d2029758c2f0536d41fccbd422c8c020.tar.bz2
catalyst-8f879050d2029758c2f0536d41fccbd422c8c020.zip
amd64.py: define CHOST for nocona and core2
Fixes: https://bugs.gentoo.org/show_bug.cgi?id=400829
Diffstat (limited to 'arch')
-rw-r--r--arch/amd64.py2
1 files changed, 2 insertions, 0 deletions
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):