aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-10-23 21:06:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-10-23 21:06:51 +0000
commitf70edb670a86a0709ff614adf16011ba9f6684ea (patch)
tree7078983cd632fa349bd542a9015722590df41032 /toolchain
parent484f442adcbd75e875a18134f1588766035f4d20 (diff)
downloadupstream-f70edb670a86a0709ff614adf16011ba9f6684ea.tar.gz
upstream-f70edb670a86a0709ff614adf16011ba9f6684ea.tar.bz2
upstream-f70edb670a86a0709ff614adf16011ba9f6684ea.zip
add -funit-at-a-time in trunk/ as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2291 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 fd906f05f6..67a331f048 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 c7ad48f7e4..2f2bbc426d 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.