summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-26 16:19:59 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-10-26 16:19:59 +0000
commit042e469b6cafe1fd5893f106b5a20b20fbce2e98 (patch)
treeeba63e71a26c465ef96db4c82e45830309dba76e
parent943472dc74b5ae3390f80e0960a1503ddc82d9b7 (diff)
Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9451 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 956c745be2..f901fae431 100644
--- a/toolchain/Config.in
+++ b/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"