aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-07-01 17:53:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-07-01 17:53:28 +0000
commita10de632d17303522686117c063925a22de1cd6d (patch)
treeedd8ab87803f3645b4fd71072e6968c06fc1da65 /toolchain/Config.in
parentaf0950786e9cd65db7bf7f75b8ac7935829ccdb4 (diff)
downloadupstream-a10de632d17303522686117c063925a22de1cd6d.tar.gz
upstream-a10de632d17303522686117c063925a22de1cd6d.tar.bz2
upstream-a10de632d17303522686117c063925a22de1cd6d.zip
Use -Os for rdc and -O2 for the x86 target
SVN-Revision: 7831
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r--toolchain/Config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 1f8158286f..bdce62c7bf 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -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"