Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 95622
Collapse All | Expand All

(-)/usr/bin/gcc-config (+5 lines)
Lines 169-174 Link Here
169
		${AWK} '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS)=/ {print $0}' \
169
		${AWK} '!/^(STDCXX_INCDIR|LDPATH|CC|CXX|CTARGET|GCCBITS|GCC_SPECS)=/ {print $0}' \
170
			"${GCC_ENV_D}/${CC_COMP}" > "${ENV_D}/05gcc"
170
			"${GCC_ENV_D}/${CC_COMP}" > "${ENV_D}/05gcc"
171
		echo "LDPATH=\"${MY_LDPATH}\"" >> "${ENV_D}/05gcc"
171
		echo "LDPATH=\"${MY_LDPATH}\"" >> "${ENV_D}/05gcc"
172
		
173
		# Now remove the multilib added path to just have the first one
174
		# in the list.
175
		LDPATH="${LDPATH/:*/}"
176
172
		if [[ -n ${GCC_SPECS} ]] && [[ -e ${ROOT}/${GCC_SPECS} ]] ; then
177
		if [[ -n ${GCC_SPECS} ]] && [[ -e ${ROOT}/${GCC_SPECS} ]] ; then
173
			echo "GCC_SPECS=\"${GCC_SPECS}\"" >> "${ENV_D}/05gcc"
178
			echo "GCC_SPECS=\"${GCC_SPECS}\"" >> "${ENV_D}/05gcc"
174
		else
179
		else

Return to bug 95622