changeset 832:fc498452494a

Add missing chunk too make distcc work again.
author Rob Landley <rob@landley.net>
date Fri, 02 Oct 2009 00:56:05 -0500
parents 3116f25406d6
children 18fa21056b01
files sources/sections/binutils-gcc.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sources/sections/binutils-gcc.sh	Thu Oct 01 20:50:44 2009 -0500
+++ b/sources/sections/binutils-gcc.sh	Fri Oct 02 00:56:05 2009 -0500
@@ -1,4 +1,4 @@
-Build binutils, c wrapper, and uClibc++
+# Build binutils, c wrapper, and uClibc++
 
 # Build binutils, which provides the linker and assembler and such.
 
@@ -161,6 +161,9 @@
   cd "$STAGE_DIR"/libexec/gcc/*/*/ &&
   cp -s "../../../../$CROSS_TARGET/bin/"* . &&
 
+  ln -s ${CROSS_TARGET} ${STAGE_DIR}/tools &&
+  ln -sf ../../../../tools/bin/ld  ${STAGE_DIR}/libexec/gcc/*/*/collect2 &&
+
   # Wrap C++ too.
 
   mv "$STAGE_DIR/bin/${PROGRAM_PREFIX}"{g++,rawg++} &&