summaryrefslogtreecommitdiffstats
path: root/build/install-build-deps.sh
diff options
context:
space:
mode:
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