diff options
author | Mike Baker <mbm@openwrt.org> | 2006-01-13 00:31:04 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-01-13 00:31:04 +0000 |
commit | a7cbbbd9b512ec12baa509b32d5a33f17a0f2622 (patch) | |
tree | aba65e37f9939d51d4a4559c02fd9f015a5f4351 /openwrt | |
parent | bb2b2677cd87c021aefdb11fbbe2fb60d0170831 (diff) | |
download | mtk-20170518-a7cbbbd9b512ec12baa509b32d5a33f17a0f2622.zip mtk-20170518-a7cbbbd9b512ec12baa509b32d5a33f17a0f2622.tar.gz mtk-20170518-a7cbbbd9b512ec12baa509b32d5a33f17a0f2622.tar.bz2 |
fix cflags
SVN-Revision: 2944
Diffstat (limited to 'openwrt')
-rw-r--r-- | openwrt/toolchain/Config.in | 5 | ||||
-rw-r--r-- | openwrt/toolchain/Config.in.devel | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/openwrt/toolchain/Config.in b/openwrt/toolchain/Config.in index 67a331f..080d877 100644 --- a/openwrt/toolchain/Config.in +++ b/openwrt/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" diff --git a/openwrt/toolchain/Config.in.devel b/openwrt/toolchain/Config.in.devel index 2f2bbc4..4144c50 100644 --- a/openwrt/toolchain/Config.in.devel +++ b/openwrt/toolchain/Config.in.devel @@ -38,7 +38,8 @@ config BR2_SOFT_FLOAT config BR2_TARGET_OPTIMIZATION string "Target Optimizations" 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 + default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if BR2_mipsel || BR2_mips + default "-Os -pipe -funit-at-a-time" help Optimizations to use when building for the target host. |