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

Collapse All | Expand All

(-)/usr/portage/sys-devel/distcc/files/3.0/init (-1 / +7 lines)
Lines 16-24 Link Here
16
		chown distcc:daemon /var/run/distccd
16
		chown distcc:daemon /var/run/distccd
17
	fi
17
	fi
18
18
19
	# Get bin path of all active gcc profiles
20
	GCC_PATHS=""
21
	for p in `gcc-config -l | awk '/\*$/ {print $2}'`; do
22
		GCC_PATHS="${GCC_PATHS}:$p"
23
	done
24
19
	# Load GCC_SPECS from profile.env bug #164818
25
	# Load GCC_SPECS from profile.env bug #164818
20
	GCC_SPECS="$(. /etc/profile.env; echo "${GCC_SPECS}")" \
26
	GCC_SPECS="$(. /etc/profile.env; echo "${GCC_SPECS}")" \
21
	PATH="$(gcc-config --get-bin-path):${PATH}" \
27
	PATH="${GCC_PATHS}:${PATH}" \
22
	start-stop-daemon --start --quiet --exec "${DISTCCD_EXEC}" -- \
28
	start-stop-daemon --start --quiet --exec "${DISTCCD_EXEC}" -- \
23
		--daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \
29
		--daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \
24
		${DISTCCD_OPTS}
30
		${DISTCCD_OPTS}

Return to bug 262773