add support for multiple target arch
authorNicolas Thill <nico@openwrt.org>
Mon, 25 Jul 2005 10:32:22 +0000 (10:32 +0000)
committerNicolas Thill <nico@openwrt.org>
Mon, 25 Jul 2005 10:32:22 +0000 (10:32 +0000)
SVN-Revision: 1561

openwrt/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.