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

Collapse All | Expand All

(-)old/toolchain-funcs.eclass (-8 / +3 lines)
Lines 184-193 ninj() { [[ ${type} == "kern" ]] && echo Link Here
184
		cris*)		echo cris;;
184
		cris*)		echo cris;;
185
		hppa*)		ninj parisc hppa;;
185
		hppa*)		ninj parisc hppa;;
186
		i?86*)
186
		i?86*)
187
			# Starting with linux-2.6.24, the 'x86_64' and 'i386'
187
			if [[ ${type} == "kern" ]] ; then
188
			# trees have been unified into 'x86'.
189
			# FreeBSD still uses i386
190
			if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then
191
				echo i386
188
				echo i386
192
			else
189
			else
193
				echo x86
190
				echo x86
Lines 228-237 ninj() { [[ ${type} == "kern" ]] && echo Link Here
228
					;;
225
					;;
229
		vax*)		echo vax;;
226
		vax*)		echo vax;;
230
		x86_64*)
227
		x86_64*)
231
			# Starting with linux-2.6.24, the 'x86_64' and 'i386'
228
			if [[ ${type} == "kern" ]] ; then
232
			# trees have been unified into 'x86'.
229
				echo x86_64
233
			if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.24) ]] ; then
234
				echo x86
235
			else
230
			else
236
				ninj x86_64 amd64
231
				ninj x86_64 amd64
237
			fi
232
			fi

Return to bug 287225