From 6b70f7ae818177c1f2c9396a7e283033fae781e1 Mon Sep 17 00:00:00 2001 From: florian Date: Sun, 1 Jul 2007 17:53:28 +0000 Subject: [PATCH] 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 --- toolchain/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index 1f8158286..bdce62c7b 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"