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

(-)files/3.0/init (-4 / +5 lines)
Lines 16-25 Link Here
16
		chown distcc:daemon /var/run/distccd
16
		chown distcc:daemon /var/run/distccd
17
	fi
17
	fi
18
18
19
	# Load GCC_SPECS from profile.env bug #164818
19
	# Load PATH and GCC_SPECS from gcc-config, bug #262773
20
	GCC_SPECS="$(. /etc/profile.env; echo "${GCC_SPECS}")" \
20
	eval "$(gcc-config -E)"
21
	PATH="$(gcc-config --get-bin-path):${PATH}" \
21
22
	start-stop-daemon --start --quiet --exec "${DISTCCD_EXEC}" -- \
22
	start-stop-daemon --start --quiet --exec "${DISTCCD_EXEC}" \
23
		--env PATH="${PATH}" --env GCC_SPECS="${GCC_SPECS}" -- \
23
		--daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \
24
		--daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \
24
		${DISTCCD_OPTS}
25
		${DISTCCD_OPTS}
25
	eend $?
26
	eend $?

Return to bug 262773