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

Collapse All | Expand All

(-)v8-9999.ebuild~mips (+22 lines)
Lines 66-71 src_configure() { Link Here
66
				myconf+=" -Darmv7=0"
66
				myconf+=" -Darmv7=0"
67
			fi
67
			fi
68
			myconf+=" $(gyp_use neon arm_neon)" ;;
68
			myconf+=" $(gyp_use neon arm_neon)" ;;
69
		mips*)
70
			if [[ ${CHOST} == mips*el* ]] ; then
71
				myarch="mipsel"
72
				myconf+=" -Dv8_target_arch=mipsel"
73
			else
74
				die "big-endian MIPS is not yet supported"
75
			fi
76
			if [[ ${CHOST} == *softfloat* ]] ; then
77
				myconf+=" -Dv8_use_mips_abi_hardfloat=false"
78
			else
79
				myconf+=" -Dv8_use_mips_abi_hardfloat=true"
80
			fi
81
			if [[ ${CHOST} == *loongson* ]] ; then
82
				myconf+=" -Dmips_arch_variant=loongson"
83
			elif [[ ${CHOST} == mips*64* ]] ; then
84
				die "generic MIPS 64bit is not yet supported"
85
			elif [[ ${CHOST} == mips*r2* ]] ; then
86
				myconf+=" -Dmips_arch_variant=mips32r2"
87
			else
88
				myconf+=" -Dmips_arch_variant=mips32"
89
			fi
90
			;;			
69
		*) die "Unrecognized CHOST: ${CHOST}"
91
		*) die "Unrecognized CHOST: ${CHOST}"
70
	esac
92
	esac
71
93

Return to bug 476272