summaryrefslogtreecommitdiffstats
path: root/build/install-build-deps.sh
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 19:27:52 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-28 19:27:52 +0000
commit4f4bb6f957aa7fb6602be079867aecf23901bbbc (patch)
treee55322e07526e9cbc5fb1f142bbcef3a9f4858de /build/install-build-deps.sh
parent9d53a1e32aac48c02753bcddd7120ed7c4622cde (diff)
downloadchromium_src-4f4bb6f957aa7fb6602be079867aecf23901bbbc.zip
chromium_src-4f4bb6f957aa7fb6602be079867aecf23901bbbc.tar.gz
chromium_src-4f4bb6f957aa7fb6602be079867aecf23901bbbc.tar.bz2
Linux: Don't bother trying to install gold via apt-get. Just always build our own copy.
BUG=79769 TEST=none Review URL: http://codereview.chromium.org/8073002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@103155 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/install-build-deps.sh')
-rwxr-xr-xbuild/install-build-deps.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/build/install-build-deps.sh b/build/install-build-deps.sh
index 9d79e40..bb0a9fc 100755
--- a/build/install-build-deps.sh
+++ b/build/install-build-deps.sh
@@ -314,14 +314,8 @@ then
fi
if test "$do_inst_gold" = "1"
then
- # If the system provides a good version of gold, just install it.
- if apt-cache show binutils-gold | grep -Eq 'Version: 2.2[1-9].*'; then
- echo "Installing binutils-gold. Backing up ld as ld.single."
- sudo apt-get install binutils-gold
- else
- echo "Building binutils with gold..."
- install_gold || exit 99
- fi
+ echo "Building binutils with gold..."
+ install_gold || exit 99
else
echo "Not installing gold."
fi