Replace -Os with -O2 for ARM
authorRaúl Porcel <armin76@gentoo.org>
Sat, 9 Oct 2010 11:59:36 +0000 (11:59 +0000)
committerRaúl Porcel <armin76@gentoo.org>
Sat, 9 Oct 2010 11:59:36 +0000 (11:59 +0000)
ChangeLog
arch/arm.py

index 1b91de313993aa49e2e7c67e84c691acee02a93e..34323e456b7a23d3f0093f94cbbf45ab89214edb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
 # Distributed under the GPL v2
 # $Id$
 
+  09 Oct 2010; Raúl Porcel <armin76@gentoo.org> arch/arm.py:
+  Replace -Os with -O2 for ARM
+
   26 Sep 2010; Raúl Porcel <armin76@gentoo.org> arch/arm.py:
   Arm fixes
 
index 9f840eb882f2bf46b0b4edeb37ddd32068b09c95..611ea11fc7ce9158c855f1c8f572bde140af3f43 100644 (file)
@@ -7,14 +7,14 @@ class generic_arm(builder.generic):
        def __init__(self,myspec):
                builder.generic.__init__(self,myspec)
                self.settings["CHROOT"]="chroot"
-               self.settings["CFLAGS"]="-Os -pipe"
+               self.settings["CFLAGS"]="-O2 -pipe"
    
 class generic_armeb(builder.generic):
        "Abstract base class for all arm (big endian) builders"
        def __init__(self,myspec):
                builder.generic.__init__(self,myspec)
                self.settings["CHROOT"]="chroot"
-               self.settings["CFLAGS"]="-Os -pipe"
+               self.settings["CFLAGS"]="-O2 -pipe"
 
 class arch_arm(generic_arm):
        "Builder class for arm (little endian) target"