From d6d5d90469fba068d0a387430fdf19dced478f53 Mon Sep 17 00:00:00 2001 From: mbm Date: Fri, 13 Jan 2006 00:31:04 +0000 Subject: fix cflags git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2944 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/Config.in | 5 +++-- toolchain/Config.in.devel | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index 67a331f04..080d87761 100644 --- a/toolchain/Config.in +++ b/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/toolchain/Config.in.devel b/toolchain/Config.in.devel index 2f2bbc426..4144c50d9 100644 --- a/toolchain/Config.in.devel +++ b/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. -- cgit v1.2.3