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