fix nvram build error
[openwrt-10.03/.git] / toolchain / Config.in.devel
index 48fe1465dfc836c61df3b1e269d108ab77fcacf6..c7ad48f7e4753c7ff7b21aa007996083df021eae 100644 (file)
@@ -37,7 +37,8 @@ config BR2_SOFT_FLOAT
 
 config BR2_TARGET_OPTIMIZATION
        string "Target Optimizations"
-       default "-Os -pipe -mips32 -mtune=mips32"
+       default "-Os -pipe -march=i486" if BR2_i386
+       default "-Os -pipe -mips32 -mtune=mips32" if BR2_mipsel
        help
          Optimizations to use when building for the target host.