changeset 517:89b2e2c55b28

Give mini-native.sh the same xgcc bypass trick cross-compiler.sh uses.
author Rob Landley <rob@landley.net>
date Tue, 02 Dec 2008 03:02:18 -0600
parents f846099333ac
children f109c324cca4
files mini-native.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mini-native.sh	Tue Dec 02 03:00:11 2008 -0600
+++ b/mini-native.sh	Tue Dec 02 03:02:18 2008 -0600
@@ -165,6 +165,8 @@
   --enable-__cxa_atexit --disable-nls --enable-languages=c,c++ \
   --disable-libstdcxx-pch --enable-sjlj-exceptions --program-prefix="" \
   $GCC_FLAGS &&
+mkdir gcc &&
+ln -s `which "${ARCH}-gcc"` gcc/xgcc &&
 make -j $CPUS configure-host &&
 make -j $CPUS all-gcc &&
 # Work around gcc bug; we disabled multilib but it doesn't always notice.