summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-25 10:32:22 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-07-25 10:32:22 +0000
commit8fa2c7e46da768d3f37d106f16da5699e4475a49 (patch)
tree1fa88d767aeb04b00f0ba930c1ce4cfaf1bb2e17 /toolchain
parent65eace1815aa643274ac6c701dbae1296730249f (diff)
add support for multiple target arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1561 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in.devel3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain/Config.in.devel b/toolchain/Config.in.devel
index 48fe1465d..c7ad48f7e 100644
--- a/toolchain/Config.in.devel
+++ b/toolchain/Config.in.devel
@@ -37,7 +37,8 @@ config BR2_SOFT_FLOAT
config BR2_TARGET_OPTIMIZATION
string "Target Optimizations"
- default "-Os -pipe -mips32 -mtune=mips32"
+ default "-Os -pipe -march=i486" if BR2_i386
+ default "-Os -pipe -mips32 -mtune=mips32" if BR2_mipsel
help
Optimizations to use when building for the target host.