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

(-)3.0/init (-3 / +3 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
	# 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
		--daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \
23
		--daemon --pid-file "${DISTCCD_PIDFILE}" --user distcc \
24
		${DISTCCD_OPTS}
24
		${DISTCCD_OPTS}

Return to bug 262773