aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-03-17 14:33:48 -0400
committerMatt Turner <mattst88@gmail.com>2012-03-17 14:33:48 -0400
commite0489f16cd4179274c378b9574827ba1766cd18c (patch)
treeb22f76dba026b2d1087bc7bdb16293e1424bb661
parentmips.py: add loongson2{e,f} n64 and multilib classes (diff)
downloadcatalyst-e0489f16cd4179274c378b9574827ba1766cd18c.tar.gz
catalyst-e0489f16cd4179274c378b9574827ba1766cd18c.tar.bz2
catalyst-e0489f16cd4179274c378b9574827ba1766cd18c.zip
mips.py: change -O3 to -O2 in loongson2f classes
-rw-r--r--modules/catalyst/arch/mips.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/catalyst/arch/mips.py b/modules/catalyst/arch/mips.py
index aee97bb..432d662 100644
--- a/modules/catalyst/arch/mips.py
+++ b/modules/catalyst/arch/mips.py
@@ -265,25 +265,25 @@ class arch_loongson2f(generic_mipsel):
"Builder class for Loongson 2F [Little-endian]"
def __init__(self,myspec):
generic_mipsel.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["CFLAGS"]="-O2 -march=loongson2f -mabi=32 -mplt -Wa,-mfix-loongson2f-nop -pipe"
class arch_loongson2f_n32(generic_mips64el):
"Builder class for Loongson 2F [Little-endian N32]"
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["CFLAGS"]="-O2 -march=loongson2f -mabi=n32 -mplt -Wa,-mfix-loongson2f-nop -pipe"
class arch_loongson2f_n64(generic_mips64el):
"Builder class for Loongson 2F [Little-endian N64]"
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -march=loongson2f -mabi=64 -Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["CFLAGS"]="-O2 -march=loongson2f -mabi=64 -Wa,-mfix-loongson2f-nop -pipe"
class arch_loongson2f_multilib(generic_mips64el):
"Builder class for Loongson 2F [Little-endian multilib]"
def __init__(self,myspec):
generic_mips64el.__init__(self,myspec)
- self.settings["CFLAGS"]="-O3 -march=loongson2f -mplt -Wa,-mfix-loongson2f-nop -pipe"
+ self.settings["CFLAGS"]="-O2 -march=loongson2f -mplt -Wa,-mfix-loongson2f-nop -pipe"
class arch_mipsel4(generic_mipsel):
"Builder class for MIPS IV [Little-endian]"