Browse Source

Update CFLAGS pickup to match the target variable name, allow i686 to be optimised

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

+ 3 - 2
toolchain/Config.in

@@ -50,8 +50,9 @@ config SOFT_FLOAT
 config TARGET_OPTIMIZATION
 	string
 	prompt "Target Optimizations" if TOOLCHAINOPTS
-	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 "-O2 -pipe -march=i686 -funit-at-a-time" if TARGET_x86_mediacenter
+	default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
+	default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
 	default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
 	default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if armeb
 	default "-Os -pipe -funit-at-a-time"