summaryrefslogtreecommitdiffstats
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
commitde522c96ad1b71fd45b023bfb7f47fb97e21c8b5 (patch)
treef81b4e21bf55a8a0d3327fa0a9e68fbc87b73f86
parent54e0439b72f591bcf7a3051177d24f227fb80312 (diff)
add support for multiple target arch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1561 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/toolchain/Config.in.devel3
1 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/toolchain/Config.in.devel b/openwrt/toolchain/Config.in.devel
index 48fe1465d..c7ad48f7e 100644
--- a/openwrt/toolchain/Config.in.devel
+++ b/openwrt/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.