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

Collapse All | Expand All

(-)portage/eclass/toolchain.eclass.back (-6 / +12 lines)
Lines 709-721 Link Here
709
709
710
	# this only makes sense for some Linux targets
710
	# this only makes sense for some Linux targets
711
	case ${CTARGET} in
711
	case ${CTARGET} in
712
	x86_64*-linux*)    config="i386" ;;
712
	x86_64*-linux*)    config="i386/t-linux64" ;;
713
	powerpc64*-linux*) config="rs6000" ;;
713
	powerpc64*-linux*) config="rs6000/t-linux64" ;;
714
	sparc64*-linux*)   config="sparc" ;;
714
	sparc64*-linux*)   config="sparc/t-linux64" ;;
715
	s390x*-linux*)     config="s390" ;;
715
	s390x*-linux*)     config="s390/t-linux64" ;;
716
	x86_64*-freebsd*)
717
	                   if [ ! -f "${S}/gcc/config/i386/t-freebsd64" ] ; then
718
	                       return 0;
719
	                   fi
720
721
	                   config="i386/t-freebsd64"
722
	                   ;;
716
	*)	               return 0 ;;
723
	*)	               return 0 ;;
717
	esac
724
	esac
718
	config+="/t-linux64"
719
725
720
	local sed_args=()
726
	local sed_args=()
721
	if tc_version_is_at_least 4.6 ; then
727
	if tc_version_is_at_least 4.6 ; then
Lines 1517-1523 Link Here
1517
	local map=()
1523
	local map=()
1518
	case ${CTARGET} in
1524
	case ${CTARGET} in
1519
	mips*)   map=("o32 32" "n32 n32" "n64 64") ;;
1525
	mips*)   map=("o32 32" "n32 n32" "n64 64") ;;
1520
	x86_64*) map=("amd64 m64" "x86 m32" "x32 mx32") ;;
1526
	x86_64*) map=("amd64 m64" "x86 m32" "x32 mx32" "amd64_fbsd m64" "x86_fbsd m32") ;;
1521
	esac
1527
	esac
1522
1528
1523
	local m
1529
	local m

Return to bug 510400