summaryrefslogtreecommitdiffstats
path: root/openwrt/toolchain/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/toolchain/Config.in')
-rw-r--r--openwrt/toolchain/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/openwrt/toolchain/Config.in b/openwrt/toolchain/Config.in
index 67a331f04..080d87761 100644
--- a/openwrt/toolchain/Config.in
+++ b/openwrt/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"