Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: tools/cross_build_gcc.sh

Issue 170843011: Fix tools/cross_build_gcc.sh. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698