Skip to content

Commit 64ed2f4

Browse files
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= [email protected] Review URL: https://codereview.chromium.org/170843011 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@19514 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
1 parent 0392bff commit 64ed2f4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tools/cross_build_gcc.sh

+5
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export AR=$1ar
3737
export RANLIB=$1ranlib
3838
export CC=$1gcc
3939
export LD=$1g++
40+
export LINK=$1g++
4041

4142
OK=1
4243
if [ ! -x "$CXX" ]; then
@@ -59,6 +60,10 @@ if [ ! -x "$LD" ]; then
5960
echo "Error: $LD does not exist or is not executable."
6061
OK=0
6162
fi
63+
if [ ! -x "$LINK" ]; then
64+
echo "Error: $LINK does not exist or is not executable."
65+
OK=0
66+
fi
6267
if [ $OK -ne 1 ]; then
6368
exit 1
6469
fi

0 commit comments

Comments
 (0)