changeset 487:1828f3fe831e

Continuing attempt to make gcc build like a normal program.
author Rob Landley <rob@landley.net>
date Sun, 16 Nov 2008 23:22:52 -0600
parents 560f7b703d90
children 2a028ba323bb
files cross-compiler.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cross-compiler.sh	Fri Nov 14 19:54:40 2008 -0600
+++ b/cross-compiler.sh	Sun Nov 16 23:22:52 2008 -0600
@@ -39,6 +39,11 @@
   --disable-shared --disable-threads --disable-nls --disable-multilib \
   --enable-__cxa_atexit --disable-libstdcxx-pch --enable-sjlj-exceptions \
   --program-prefix="${ARCH}-" &&
+
+# Try to convince gcc build process not to rebuild itself with itself.
+mkdir -p gcc &&
+ln -s `which gcc` gcc/xgcc &&
+
 make -j $CPUS all-gcc LDFLAGS="$STATIC_FLAGS" &&
 make -j $CPUS install-gcc &&
 cd ..