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
This commit is contained in:
parent
baf2614853
commit
3196b9fb6c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user