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
commit220855cb4889c20ef7977fcfaa8a06c754dcc2db (patch)
tree0e0b410836449bc8b38799193f404fce684c323b /toolchain/Config.in
parent803d029af370c818635c3920150bc301280d7308 (diff)
downloadupstream-220855cb4889c20ef7977fcfaa8a06c754dcc2db.tar.gz
upstream-220855cb4889c20ef7977fcfaa8a06c754dcc2db.tar.bz2
upstream-220855cb4889c20ef7977fcfaa8a06c754dcc2db.zip
Use -Os for rdc and -O2 for the x86 target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7831 3c298f89-4303-0410-b956-a3cf2f4a3e73
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"