summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.