aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2008-02-08 00:10:10 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2008-02-08 00:10:10 +0000
commita0fcd03943c36fe6c4ebd69f928f8a9d0bec9c75 (patch)
tree9811715e519c933cb8b5a25b30a070bc223eaa59 /arch
parentMake the --kerncache option to genkernel dependent on 'kerncache' being in op... (diff)
downloadcatalyst-a0fcd03943c36fe6c4ebd69f928f8a9d0bec9c75.tar.gz
catalyst-a0fcd03943c36fe6c4ebd69f928f8a9d0bec9c75.tar.bz2
catalyst-a0fcd03943c36fe6c4ebd69f928f8a9d0bec9c75.zip
Fixing a minor display issue when we write out make.conf, adding HOSTUSE for amd64 to add mmx, sse, and sse2 to USE, adding sse2 to pentium4's HOSTUSE.
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1287 d1e1f19c-881f-0410-ab34-b69fee027534
Diffstat (limited to 'arch')
-rw-r--r--arch/amd64.py1
-rw-r--r--arch/x86.py7
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/amd64.py b/arch/amd64.py
index 5cfa2eae..2ede817e 100644
--- a/arch/amd64.py
+++ b/arch/amd64.py
@@ -13,6 +13,7 @@ class arch_amd64(generic_amd64):
generic_amd64.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -pipe"
self.settings["CHOST"]="x86_64-pc-linux-gnu"
+ self.settings["HOSTUSE"]=["mmx","sse","sse2"]
#class arch_nocona(generic_x86):
# def __init__(self,myspec):
diff --git a/arch/x86.py b/arch/x86.py
index 6592f9eb..23f7d190 100644
--- a/arch/x86.py
+++ b/arch/x86.py
@@ -81,7 +81,7 @@ class arch_pentium4(generic_x86):
def __init__(self,myspec):
arch_i686.__init__(self,myspec)
self.settings["CFLAGS"]="-O2 -march=pentium4 -pipe"
- self.settings["HOSTUSE"]=["mmx","sse"]
+ self.settings["HOSTUSE"]=["mmx","sse","sse2"]
class arch_prescott(generic_x86):
def __init__(self,myspec):
@@ -100,11 +100,10 @@ def register():
"athlon" : arch_athlon,
"athlon-xp" : arch_athlon_xp,
"athlon-mp" : arch_athlon_xp,
- "pentium-mmx" : arch_pentium_mmx,
+ "pentium-mmx" : arch_pentium_mmx,
"pentium2" : arch_pentium2,
"pentium3" : arch_pentium3,
"pentium4" : arch_pentium4,
"prescott" : arch_prescott
- },
- ('i386', 'i486', 'i586', 'i686'))
+ }, ('i386', 'i486', 'i586', 'i686'))