From: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Date: Wed, 29 Aug 2012 03:49:40 +0000 (+0000)
Subject: Signed-off-by: Daniel Solano Gómez <gentoo@sattvik.com>
X-Git-Tag: Catalyst-2.0.11~7
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4df7c7f8cbc46c62bbb0b6ecc7144e10509fb35b;p=catalyst.git

Signed-off-by: Daniel Solano Gómez <gentoo@sattvik.com>
Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>

Fixes 'HOSTUSER' typo for Pentium M
Adds CHOST for Prescott
---

diff --git a/arch/x86.py b/arch/x86.py
index 324ed799..8bce84c2 100644
--- a/arch/x86.py
+++ b/arch/x86.py
@@ -82,7 +82,7 @@ class arch_pentium_m(generic_x86):
 	def __init__(self,myspec):
 		generic_x86.__init__(self,myspec)
 		self.settings["CFLAGS"]="-O2 -march=pentium-m -pipe"
-		self.settings["HOSTUSER"]=["mmx","sse","sse2"]
+		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
 
 class arch_prescott(generic_x86):
 	"improved version of Intel Pentium 4 CPU with MMX, SSE, SSE2 and SSE3 support"
@@ -90,6 +90,7 @@ class arch_prescott(generic_x86):
 		generic_x86.__init__(self,myspec)
 		self.settings["CFLAGS"]="-O2 -march=prescott -pipe"
 		self.settings["HOSTUSE"]=["mmx","sse","sse2"]
+		self.settings["CHOST"]="i686-pc-linux-gnu"
 
 class arch_k6(generic_x86):
 	"AMD K6 CPU with MMX support"