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

Collapse All | Expand All

(-)file_not_specified_in_diff (-10 / +12 lines)
Line  Link Here
0
-- ccache-config
0
++ ccache-config
Lines 66-80 Link Here
66
}
66
}
67
cc_links() {
67
cc_links() {
68
	local a
68
	local a
69
	for a in gcc cc c++ g++ ; do
69
	if [ -z "${2}" ] ; then
70
		if [ -n "${2}" ] ; then
70
		# gcc-config doesn't install ${CHOST}-cc, so until
71
			# gcc-config doesnt install ${CHOST}-cc, so until
71
		# it does, don't install a ccache symlink for it
72
			# it does, don't install a ccache symlink for it
72
		for a in cc clang clang++
73
			[ "${a}" = "cc" ] && continue
73
		do	eval "cc_${1}_link" "${a}"
74
			a="${2}-${a}"
74
		done
75
		fi
75
	else
76
		eval "cc_${1}_link" "${a}"
76
		for a in gcc c++ g++
77
	done
77
		do	eval "cc_${1}_link" "${2}-${a}"
78
		done
79
	fi
78
}
80
}
79
81
80
###
82
###

Return to bug 434250