summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-05 22:54:26 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-12-05 22:54:26 +0000
commit1ce52e87fdf57bd6e3ca7fea521ca7a0e08863de (patch)
treea9c9faa06baa87797e42ee0922e6d6d4bdbd0aa5
parent320a788b2a632c1b4215a4acc15fd032ac13ad00 (diff)
switch to -O2 on x86 for performance reasons
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5694 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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"