--- /usr/portage/eclass/toolchain.eclass 2009-12-20 20:07:39.000000000 +0100 +++ toolchain.eclass 2010-01-01 19:55:15.000000000 +0100 @@ -1230,6 +1230,11 @@ fi case $(tc-arch) in + arm) + local arm_arch="${CTARGET%%-*}" + [[ ! -z "${arm_arch##armv7}" ]] && arm_arch="${arm_arch/armv7/armv7-}" + confgcc="${confgcc} --with-arch=${arm_arch}" + # Add --with-abi flags to set default MIPS ABI mips) local mips_abi=""