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

Collapse All | Expand All

(-)/usr/portage/www-client/chromium/chromium-29.0.1521.3.ebuild (-2 / +13 lines)
Lines 332-341 Link Here
332
		myconf+=" -Dtarget_arch=ia32"
332
		myconf+=" -Dtarget_arch=ia32"
333
	elif [[ $myarch = arm ]] ; then
333
	elif [[ $myarch = arm ]] ; then
334
		# TODO: re-enable NaCl (NativeClient).
334
		# TODO: re-enable NaCl (NativeClient).
335
		local CTARGET=${CTARGET:-${CHOST}}
336
		[[ $(tc-is-softfloat) == "no" ]] && myconf+=" -Darm_float_abi=hard"
337
		if [[ ${CTARGET} == armv[78]* ]]; then
338
			myconf+=" -Darmv7=1"
339
			if is-flagq "-mfpu=neon"; then
340
				myconf+=" -Darm_neon=1"
341
			else
342
				myconf+=" -Darm_neon=0"
343
			fi
344
		else
345
			myconf+=" -Darmv7=0
346
			-Darm_neon=0"
347
		fi
335
		myconf+=" -Dtarget_arch=arm
348
		myconf+=" -Dtarget_arch=arm
336
			-Dsysroot=
349
			-Dsysroot=
337
			-Darmv7=0
338
			-Darm_neon=0
339
			-Ddisable_nacl=1"
350
			-Ddisable_nacl=1"
340
	else
351
	else
341
		die "Failed to determine target arch, got '$myarch'."
352
		die "Failed to determine target arch, got '$myarch'."

Return to bug 473260