do target dependent optimizations
[oweals/openwrt.git] / toolchain / Config.in
index c4f6e14f57f9baba111c545b06e18a66109c13a8..1d7f1ab07a0cde5329c6b44006b23f4031429be7 100644 (file)
@@ -84,7 +84,7 @@ config TARGET_OPTIMIZATION
        default "-O2 -pipe -march=i486 -funit-at-a-time" if TARGET_x86
        default "-Os -pipe -march=i486 -funit-at-a-time" if TARGET_rdc
        default "-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" if mipsel || mips
-       default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if armeb || arm
+       default "-Os -pipe -march=armv5te -mtune=xscale -funit-at-a-time" if TARGET_ixp4xx || TARGET_iop32x
        default "-Os -pipe -funit-at-a-time"
        help
          Optimizations to use when building for the target host.