Reviewers: ulan, jochen,

Description:
Fix tools/cross_build_gcc.sh.

The cross_build_gcc.sh script didn't set LINK, so cross builds would
fail at the last step.

BUG=

Please review this at https://codereview.chromium.org/170843011/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+5, -0 lines):
  M tools/cross_build_gcc.sh


Index: tools/cross_build_gcc.sh
diff --git a/tools/cross_build_gcc.sh b/tools/cross_build_gcc.sh
index b9e87280db72a8c95d8f98db059e43f5664eacf5..e3603cc786a9b2cdbfee30a50d5fd7f4939974ee 100755
--- a/tools/cross_build_gcc.sh
+++ b/tools/cross_build_gcc.sh
@@ -37,6 +37,7 @@ export AR=$1ar
 export RANLIB=$1ranlib
 export CC=$1gcc
 export LD=$1g++
+export LINK=$1g++

 OK=1
 if [ ! -x "$CXX" ]; then
@@ -59,6 +60,10 @@ if [ ! -x "$LD" ]; then
   echo "Error: $LD does not exist or is not executable."
   OK=0
 fi
+if [ ! -x "$LINK" ]; then
+  echo "Error: $LINK does not exist or is not executable."
+  OK=0
+fi
 if [ $OK -ne 1 ]; then
   exit 1
 fi


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to