Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 418209 | Differences between
and this patch

Collapse All | Expand All

(-)toolchain.eclass.orig (+4 lines)
Lines 968-973 Link Here
968
				break
968
				break
969
			fi
969
			fi
970
		done
970
		done
971
971
		# Convert armv7{a,r,m} to armv7-{a,r,m}
972
		# Convert armv7{a,r,m} to armv7-{a,r,m}
972
		[[ ${arm_arch} == armv7? ]] && arm_arch=${arm_arch/7/7-}
973
		[[ ${arm_arch} == armv7? ]] && arm_arch=${arm_arch/7/7-}
973
		# See if this is a valid --with-arch flag
974
		# See if this is a valid --with-arch flag
Lines 977-982 Link Here
977
			confgcc+=( --with-arch=${arm_arch} )
978
			confgcc+=( --with-arch=${arm_arch} )
978
		fi
979
		fi
979
980
981
		# If arch is arm*-m, use thumb mode only.
982
		[[ ${arm_arch} == *-m ]] && confgcc+=( --with-mode=thumb )
983
		
980
		# Enable hardvfp
984
		# Enable hardvfp
981
		if [[ $(tc-is-softfloat) == "no" ]] && \
985
		if [[ $(tc-is-softfloat) == "no" ]] && \
982
		   [[ ${CTARGET} == armv[67]* ]] && \
986
		   [[ ${CTARGET} == armv[67]* ]] && \

Return to bug 418209