summaryrefslogtreecommitdiff
path: root/openwrt
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt')
-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 48fe1465df..c7ad48f7e4 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.