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

(-)uclibc-0.9.30_rc1.ebuild (-1 / +1 lines)
Lines 67-73 uclibc_endian() { Link Here
67
	# XXX: this wont work for a toolchain which is bi-endian, but we
67
	# XXX: this wont work for a toolchain which is bi-endian, but we
68
	#      dont have any such thing at the moment, so not a big deal
68
	#      dont have any such thing at the moment, so not a big deal
69
	touch "${T}"/endian.s
69
	touch "${T}"/endian.s
70
	$(tc-getAS) "${T}"/endian.s -o "${T}"/endian.o
70
	$(tc-getAS ${CTARGET}) "${T}"/endian.s -o "${T}"/endian.o
71
	case $(file "${T}"/endian.o) in
71
	case $(file "${T}"/endian.o) in
72
		*" MSB "*) echo "big";;
72
		*" MSB "*) echo "big";;
73
		*" LSB "*) echo "little";;
73
		*" LSB "*) echo "little";;

Return to bug 242314