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

Collapse All | Expand All

(-)mplayer-1.0_rc1-r2.ebuild (-1 / +5 lines)
Lines 425-437 Link Here
425
	# ugly optimizations cause MPlayer to cry on x86 systems!
425
	# ugly optimizations cause MPlayer to cry on x86 systems!
426
		if use x86 ; then
426
		if use x86 ; then
427
			replace-flags -O* -O2
427
			replace-flags -O* -O2
428
			filter-flags -fPIC -fPIE
428
			filter-flags -fPIC
429
			use debug || append-flags -fomit-frame-pointer
429
			use debug || append-flags -fomit-frame-pointer
430
		fi
430
		fi
431
	append-flags -D__STDC_LIMIT_MACROS
431
	append-flags -D__STDC_LIMIT_MACROS
432
	else
432
	else
433
	unset CFLAGS CXXFLAGS
433
	unset CFLAGS CXXFLAGS
434
	fi
434
	fi
435
	# Don't do PIE - too much assembler is non-PIC only (bug #133586)
436
	# Affects at least x86 and amd64 arches.  Do it always, as hardened uses
437
	# CFLAGS with filter-flags to switch off its default-PIE behaviour.
438
	filter-flags -fPIE
435
439
436
	CFLAGS="$CFLAGS" ./configure \
440
	CFLAGS="$CFLAGS" ./configure \
437
		"--cc=$(tc-getCC)" "--host-cc=$(tc-getBUILD_CC)" \
441
		"--cc=$(tc-getCC)" "--host-cc=$(tc-getBUILD_CC)" \

Return to bug 133586