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

Collapse All | Expand All

(-)wine-1.9.5.ebuild (-1 / +1 lines)
Lines 176-182 Link Here
176
	# bug #574044
176
	# bug #574044
177
	if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
177
	if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
178
		einfo "Checking for gcc-5-3 stack realignment compiler bug ..."
178
		einfo "Checking for gcc-5-3 stack realignment compiler bug ..."
179
		$(tc-getCC) -O2 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 || die
179
		$(tc-getCC) -O2 -c "${FILESDIR}"/pr69140.c -o "${T}"/pr69140.o || die
180
		# Run in subshell to prevent "Aborted" message
180
		# Run in subshell to prevent "Aborted" message
181
		if ! ( "${T}"/69140 || false ) >/dev/null 2>&1; then
181
		if ! ( "${T}"/69140 || false ) >/dev/null 2>&1; then
182
			eerror "Wine cannot be built with this version of gcc-5.3"
182
			eerror "Wine cannot be built with this version of gcc-5.3"

Return to bug 577306