switch to -O2 on x86 for performance reasons
authorFelix Fietkau <nbd@openwrt.org>
Tue, 5 Dec 2006 22:54:26 +0000 (22:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 5 Dec 2006 22:54:26 +0000 (22:54 +0000)
SVN-Revision: 5694

toolchain/Config.in

index e89cdf6..926381c 100644 (file)
@@ -51,7 +51,7 @@ config SOFT_FLOAT
 config TARGET_OPTIMIZATION
        string
        prompt "Target Optimizations" if TOOLCHAINOPTS
-       default "-Os -pipe -march=i486 -funit-at-a-time" if i386
+       default "-O2 -pipe -march=i486 -funit-at-a-time" if i386
        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"