summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-26 16:19:59 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-26 16:19:59 +0000
commitda7afd8577368819993d7d16bc9c6191accd6274 (patch)
tree5b43e29ea4e2f69239f158de7f10df9e4579bd67 /toolchain
parentd29af25874381a4f325cf459a81357738f83e427 (diff)
downloadmtk-20170518-da7afd8577368819993d7d16bc9c6191accd6274.zip
mtk-20170518-da7afd8577368819993d7d16bc9c6191accd6274.tar.gz
mtk-20170518-da7afd8577368819993d7d16bc9c6191accd6274.tar.bz2
Update CFLAGS pickup to match the target variable name, allow i686 to be optimised
SVN-Revision: 9451
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 956c745..f901fae 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"