From: Florian Fainelli Date: Sun, 1 Jul 2007 17:53:28 +0000 (+0000) Subject: Use -Os for rdc and -O2 for the x86 target X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a10de632d17303522686117c063925a22de1cd6d;p=openwrt%2Fstaging%2Fblocktrron.git Use -Os for rdc and -O2 for the x86 target SVN-Revision: 7831 --- 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"