summaryrefslogtreecommitdiff
path: root/openwrt/toolchain
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-23 21:06:51 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-10-23 21:06:51 +0000
commit55a4a5467553f1dd70fe6455b488d183ee176bf7 (patch)
tree0a45c8f9ca2cf6c354bd2ba7feac92d348eee9b9 /openwrt/toolchain
parent40c280c75d43bd2738ed650af24a29303e5d1434 (diff)
add -funit-at-a-time in trunk/ as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2291 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/toolchain')
-rw-r--r--openwrt/toolchain/Config.in2
-rw-r--r--openwrt/toolchain/Config.in.devel4
2 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/toolchain/Config.in b/openwrt/toolchain/Config.in
index fd906f05f6..67a331f048 100644
--- a/openwrt/toolchain/Config.in
+++ b/openwrt/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/openwrt/toolchain/Config.in.devel b/openwrt/toolchain/Config.in.devel
index c7ad48f7e4..2f2bbc426d 100644
--- a/openwrt/toolchain/Config.in.devel
+++ b/openwrt/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.