Paste

URL To paste - | raw - Sun Aug 19 2018 16:34:22 GMT+0000 (Coordinated Universal Time)
51c51
< build_options=('ccache' 'buildflags' 'makeflags')
---
> build_options=('ccache' 'distcc' 'buildflags' 'makeflags')
406a407,417
> 
> 	# use distcc if it is requested (check buildenv and PKGBUILD opts)
> 	if check_buildoption "distcc" "y"; then
> 		if (( ccache )); then
> 			export CCACHE_PREFIX="${CCACHE_PREFIX:+$CCACHE_PREFIX }distcc"
> 			export CCACHE_BASEDIR="$srcdir"
> 		elif [[ -d /usr/lib/distcc/bin ]]; then
> 			export PATH="/usr/lib/distcc/bin:$PATH"
> 		fi
> 		export DISTCC_HOSTS
> 	fi
1022a1034,1041
> 	fi
> 
> 	# distcc - compilation with distcc
> 	if check_buildoption "distcc" "y"; then
> 		if ! type -p distcc >/dev/null; then
> 			error "$(gettext "Cannot find the %s binary required for distributed compilation.")" "distcc"
> 			ret=1
> 		fi