summaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/Config.in2
-rw-r--r--toolchain/Config.in.devel4
2 files changed, 3 insertions, 3 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index fd906f05f..67a331f04 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -24,5 +24,5 @@ config BR2_SOFT_FLOAT
config BR2_TARGET_OPTIMIZATION
string
- default "-Os -pipe -mips32 -mtune=mips32"
+ default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time"
diff --git a/toolchain/Config.in.devel b/toolchain/Config.in.devel
index c7ad48f7e..2f2bbc426 100644
--- a/toolchain/Config.in.devel
+++ b/toolchain/Config.in.devel
@@ -37,8 +37,8 @@ config BR2_SOFT_FLOAT
config BR2_TARGET_OPTIMIZATION
string "Target Optimizations"
- default "-Os -pipe -march=i486" if BR2_i386
- default "-Os -pipe -mips32 -mtune=mips32" if BR2_mipsel
+ 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
help
Optimizations to use when building for the target host.