fix cflags
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jan 2006 00:31:04 +0000 (00:31 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 13 Jan 2006 00:31:04 +0000 (00:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2944 3c298f89-4303-0410-b956-a3cf2f4a3e73

toolchain/Config.in
toolchain/Config.in.devel

index 67a331f..080d877 100644 (file)
@@ -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"
index 2f2bbc4..4144c50 100644 (file)
@@ -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.
 
This page took 0.022216 seconds and 4 git commands to generate.