aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-01-13 00:31:04 +0000
committerMike Baker <mbm@openwrt.org>2006-01-13 00:31:04 +0000
commit26a9bbb8007372022145b4ec864d30281b982871 (patch)
tree69156957f2a78dc3885a1e358022336ffec0bf52 /toolchain/Config.in
parent129d9ed80e6eb05174176f6ab63516797329064a (diff)
downloadupstream-26a9bbb8007372022145b4ec864d30281b982871.tar.gz
upstream-26a9bbb8007372022145b4ec864d30281b982871.tar.bz2
upstream-26a9bbb8007372022145b4ec864d30281b982871.zip
fix cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2944 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r--toolchain/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 67a331f048..080d87761f 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -24,5 +24,6 @@ config BR2_SOFT_FLOAT
config BR2_TARGET_OPTIMIZATION
string
- default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time"
-
+ default "-Os -pipe -march=i486 -funit-at-a-time" if BR2_i386
+ default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if BR2_mipsel || BR2_mips
+ default "-Os -pipe -funit-at-a-time"