summaryrefslogtreecommitdiff
path: root/toolchain
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 /toolchain
parent7d769dc17d14e283b16df849b07f7c9e4f05c454 (diff)
downloadmtk-20170518-953c120550ad11eace845847c374fae355300315.zip
mtk-20170518-953c120550ad11eace845847c374fae355300315.tar.gz
mtk-20170518-953c120550ad11eace845847c374fae355300315.tar.bz2
switch to -O2 on x86 for performance reasons
SVN-Revision: 5694
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index e89cdf6..926381c 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"