fix cflags
[openwrt.git] / toolchain / Config.in.devel
index c7ad48f..4144c50 100644 (file)
@@ -37,8 +37,9 @@ 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 || BR2_mips
+       default "-Os -pipe -funit-at-a-time"
        help
          Optimizations to use when building for the target host.