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 | 1871f829aee1cbf9c3836eb6ebe59c833d27b5e2 (patch) | |
| tree | 29b55e5e508efdfd8b2aa8a40fc701b8cdac605d | |
| parent | e258610f2f2fd39412036c3df00dc44179c30424 (diff) | |
| download | upstream-1871f829aee1cbf9c3836eb6ebe59c833d27b5e2.tar.gz upstream-1871f829aee1cbf9c3836eb6ebe59c833d27b5e2.tar.bz2 upstream-1871f829aee1cbf9c3836eb6ebe59c833d27b5e2.zip | |
fix cflags
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2944 3c298f89-4303-0410-b956-a3cf2f4a3e73
| -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 67a331f0489..080d87761fd 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 2f2bbc426d0..4144c50d9d6 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. |
