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

Collapse All | Expand All

(-)a/gcc-config (-3 / +2 lines)
Lines 340-346 update_wrappers() { Link Here
340
	# But create our own ${CTARGET}-cc in /usr/bin to avoid fallbacks
340
	# But create our own ${CTARGET}-cc in /usr/bin to avoid fallbacks
341
	# to the symlinks LLVM creates (sys-devel/clang-toolchain-symlinks).
341
	# to the symlinks LLVM creates (sys-devel/clang-toolchain-symlinks).
342
	# bug #872416.
342
	# bug #872416.
343
	atomic_ln "${EROOT}usr/bin/${CTARGET}-gcc" "${EROOT}usr/bin" "${CTARGET}-cc"
343
	atomic_ln "/usr/bin/${CTARGET}-gcc" "${EROOT}usr/bin" "${CTARGET}-cc"
344
344
345
	# handle the canonical cpp wrapper
345
	# handle the canonical cpp wrapper
346
	if ! is_cross_compiler ; then
346
	if ! is_cross_compiler ; then
Lines 808-814 switch_profile() { Link Here
808
	# Update LTO plugin for GCC.  Supported as of binutils 2.25.
808
	# Update LTO plugin for GCC.  Supported as of binutils 2.25.
809
	local BFD_PLUGINS_DIR
809
	local BFD_PLUGINS_DIR
810
	local LIBLTO_PLUGIN
810
	local LIBLTO_PLUGIN
811
	LIBLTO_PLUGIN="${EROOT}usr/libexec/gcc/${CTARGET}/${CC_COMP_VERSION}/liblto_plugin.so"
811
	LIBLTO_PLUGIN="/usr/libexec/gcc/${CTARGET}/${CC_COMP_VERSION}/liblto_plugin.so"
812
	if is_cross_compiler; then
812
	if is_cross_compiler; then
813
		BFD_PLUGINS_DIR="${EROOT}usr/${CHOST}/${CTARGET}/binutils-bin/lib/bfd-plugins"
813
		BFD_PLUGINS_DIR="${EROOT}usr/${CHOST}/${CTARGET}/binutils-bin/lib/bfd-plugins"
814
	else
814
	else
815
- 

Return to bug 880977