aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-08 00:03:15 (GMT)
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>2012-09-08 13:47:57 (GMT)
commit98157408611ab90e0a0e8910e606075daa1b1fdb (patch)
treeaf3c994f199025e628818e5e85674653a8b9ede5
parentUpdate version to prepare the 2.0.11 release. (diff)
downloadcatalyst-98157408611ab90e0a0e8910e606075daa1b1fdb.zip
catalyst-98157408611ab90e0a0e8910e606075daa1b1fdb.tar.gz
catalyst-98157408611ab90e0a0e8910e606075daa1b1fdb.tar.bz2
add x32 abiCatalyst-2.0.11
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--arch/amd64.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/amd64.py b/arch/amd64.py
index 1697483..4cd229c 100644
--- a/arch/amd64.py
+++ b/arch/amd64.py
@@ -56,6 +56,14 @@ class arch_amdfam10(generic_amd64):
self.settings["CHOST"]="x86_64-pc-linux-gnu"
self.settings["HOSTUSE"]=["mmx","sse","sse2","3dnow"]
+class arch_x32(generic_amd64):
+ "builder class for generic x32 (Intel and AMD)"
+ def __init__(self,myspec):
+ generic_amd64.__init__(self,myspec)
+ self.settings["CFLAGS"]="-O2 -pipe"
+ self.settings["CHOST"]="x86_64-pc-linux-gnux32"
+ self.settings["HOSTUSE"]=["mmx","sse","sse2"]
+
def register():
"inform main catalyst program of the contents of this plugin"
return ({
@@ -70,6 +78,7 @@ def register():
"opteron-sse3" : arch_k8_sse3,
"athlon64-sse3" : arch_k8_sse3,
"amdfam10" : arch_amdfam10,
- "barcelona" : arch_amdfam10
+ "barcelona" : arch_amdfam10,
+ "x32" : arch_x32,
}, ("x86_64","amd64","nocona"))