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

(-)gcc-config-1.7.1-orig/gcc-config (+3 lines)
Lines 125-130 Link Here
125
	# make sure portage isnt broken
125
	# make sure portage isnt broken
126
	if python -V &>/dev/null ; then
126
	if python -V &>/dev/null ; then
127
		CHOST=$(portageq envvar CHOST 2>/dev/null)
127
		CHOST=$(portageq envvar CHOST 2>/dev/null)
128
		if [[ $? != 0 ]] ; then
129
			CHOST=$(try_real_hard_to_find_CHOST)
130
		fi
128
	else
131
	else
129
		ewarn "Python seems to be broken, attempting to locate CHOST ourselves ..."
132
		ewarn "Python seems to be broken, attempting to locate CHOST ourselves ..."
130
		CHOST=$(try_real_hard_to_find_CHOST)
133
		CHOST=$(try_real_hard_to_find_CHOST)

Return to bug 417291