Browse Source

Use -Os for rdc and -O2 for the x86 target

SVN-Revision: 7831
Florian Fainelli 18 years ago
parent
commit
a10de632d1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      toolchain/Config.in

+ 2 - 1
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"