Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 437460
Collapse All | Expand All

(-)toolchain-funcs.eclass~ (-1 / +1 lines)
Lines 636-642 gen_usr_ldscript() { Link Here
636
636
637
	# OUTPUT_FORMAT gives hints to the linker as to what binary format
637
	# OUTPUT_FORMAT gives hints to the linker as to what binary format
638
	# is referenced ... makes multilib saner
638
	# is referenced ... makes multilib saner
639
	output_format=$($(tc-getCC) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p')
639
	output_format=$($(tc-getCC) $(get_abi_CFLAGS) ${CFLAGS} ${LDFLAGS} -Wl,--verbose 2>&1 | sed -n 's/^OUTPUT_FORMAT("\([^"]*\)",.*/\1/p')
640
	[[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )"
640
	[[ -n ${output_format} ]] && output_format="OUTPUT_FORMAT ( ${output_format} )"
641
641
642
	for lib in "$@" ; do
642
	for lib in "$@" ; do

Return to bug 437460