summaryrefslogtreecommitdiff
path: root/openwrt/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
commit7d36633493d1f8f935e26e320fd901c20135e077 (patch)
treedb5c1f14d765247b93f967808077d9d0946d7b7a /openwrt/toolchain
parent3332476df6e8898d55a81e8140076c4af56a3048 (diff)
downloadmtk-20170518-7d36633493d1f8f935e26e320fd901c20135e077.zip
mtk-20170518-7d36633493d1f8f935e26e320fd901c20135e077.tar.gz
mtk-20170518-7d36633493d1f8f935e26e320fd901c20135e077.tar.bz2
add -funit-at-a-time in trunk/ as well
SVN-Revision: 2291
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 fd906f0..67a331f 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 c7ad48f..2f2bbc4 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.