aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-05 22:54:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-05 22:54:26 +0000
commit953c120550ad11eace845847c374fae355300315 (patch)
treef058a5ebae053325beb5197ac73c1cdeb3f166ee
parent7d769dc17d14e283b16df849b07f7c9e4f05c454 (diff)
downloadupstream-953c120550ad11eace845847c374fae355300315.tar.gz
upstream-953c120550ad11eace845847c374fae355300315.tar.bz2
upstream-953c120550ad11eace845847c374fae355300315.zip
switch to -O2 on x86 for performance reasons
SVN-Revision: 5694
-rw-r--r--toolchain/Config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index e89cdf6345..926381c0bd 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -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"