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

(-)/usr/portage/dev-lang/v8/v8-9999.ebuild (+20 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} == mips*64* ]] ; then
82
				die "generic MIPS 64bit is not yet supported"
83
			elif [[ ${CHOST} == mips*r2* ]] ; then
84
				myconf+=" -Dmips_arch_variant=mips32r2"
85
			else
86
				myconf+=" -Dmips_arch_variant=mips32"
87
			fi
88
			;;			
69
		*) die "Unrecognized CHOST: ${CHOST}"
89
		*) die "Unrecognized CHOST: ${CHOST}"
70
	esac
90
	esac
71
91

Return to bug 476272