I currently need to use arm-softfloat-elf because of linkage with libraries compiled with an old RealView toolchain, and would appreciate if the default configuration could pass --enable-obsolete to the gcc ./configure. Reproducible: Always Steps to Reproduce: 1. emerge =cross-arm-softfloat-elf/gcc-4.7.0 2. ... 3. profit! if [ tc_version_is_at_least 4.7 && ${arm_arch%%-elf} != $arm_arch ]; then confgcc+=" --enable-obsolete" fi
no need to make it dependent on versions/targets. just pass it all the time. http://sources.gentoo.org/eclass/toolchain.eclass?r1=1.540&r2=1.541 http://sources.gentoo.org/eclass/toolchain-binutils.eclass?r1=1.114&r2=1.115