Use -Os for rdc and -O2 for the x86 target
authorFlorian Fainelli <florian@openwrt.org>
Sun, 1 Jul 2007 17:53:28 +0000 (17:53 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 1 Jul 2007 17:53:28 +0000 (17:53 +0000)
SVN-Revision: 7831

toolchain/Config.in

index 1f8158286f6bd0ea61a1e2da22233482f39a7f0e..bdce62c7bfefb26f13a327e210226a8c30d71d33 100644 (file)
@@ -50,7 +50,8 @@ config SOFT_FLOAT
 config TARGET_OPTIMIZATION
        string
        prompt "Target Optimizations" if TOOLCHAINOPTS
-       default "-O2 -pipe -march=i486 -funit-at-a-time" if i386
+       default "-O2 -pipe -march=i486 -funit-at-a-time" if LINUX_2_6_X86
+       default "-Os -pipe -march=i486 -funit-at-a-time" if LINUX_2_6_RDC
        default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
        default "-Os -pipe -mcpu=xscale -funit-at-a-time" if armeb
        default "-Os -pipe -funit-at-a-time"