Commit 3196b9fb authored by jacob.bramley@arm.com's avatar jacob.bramley@arm.com

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=
R=ulan@chromium.org

Review URL: https://codereview.chromium.org/170843011

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19514 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent baf26148
...@@ -37,6 +37,7 @@ export AR=$1ar ...@@ -37,6 +37,7 @@ export AR=$1ar
export RANLIB=$1ranlib export RANLIB=$1ranlib
export CC=$1gcc export CC=$1gcc
export LD=$1g++ export LD=$1g++
export LINK=$1g++
OK=1 OK=1
if [ ! -x "$CXX" ]; then if [ ! -x "$CXX" ]; then
...@@ -59,6 +60,10 @@ if [ ! -x "$LD" ]; then ...@@ -59,6 +60,10 @@ if [ ! -x "$LD" ]; then
echo "Error: $LD does not exist or is not executable." echo "Error: $LD does not exist or is not executable."
OK=0 OK=0
fi fi
if [ ! -x "$LINK" ]; then
echo "Error: $LINK does not exist or is not executable."
OK=0
fi
if [ $OK -ne 1 ]; then if [ $OK -ne 1 ]; then
exit 1 exit 1
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment