aboutsummaryrefslogtreecommitdiff
path: root/src/make.bash
diff options
context:
space:
mode:
authorChristopher Wedgwood <cw@f00f.org>2011-10-13 12:25:25 -0400
committerRuss Cox <rsc@golang.org>2011-10-13 12:25:25 -0400
commit604bd70085868ad22545ae6b3f7c14cd5f3fd5d3 (patch)
tree6474509ebf997a84c29ba05f5562e183b81dcc7f /src/make.bash
parentc18d1a78a4cb8e0052fb272964bbf94b5855c6f4 (diff)
downloadgo-604bd70085868ad22545ae6b3f7c14cd5f3fd5d3.tar.xz
make.bash: more robustly detect gold 2.20
On recent Debian systems the gold 2.20 check triggers though Debian doesn't have version 2.20 but rather has: GNU gold (GNU Binutils for Debian 2.21.52.20110606) 1.11 ^^^^ R=rsc, iant CC=golang-dev https://golang.org/cl/5252055
Diffstat (limited to 'src/make.bash')
-rwxr-xr-xsrc/make.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bash b/src/make.bash
index 84b9908f45..57a57077c7 100755
--- a/src/make.bash
+++ b/src/make.bash
@@ -10,7 +10,7 @@ if [ ! -f env.bash ]; then
fi
. ./env.bash
-if ld --version 2>&1 | grep 'gold.*2\.20' >/dev/null; then
+if ld --version 2>&1 | grep 'gold.* 2\.20' >/dev/null; then
echo 'ERROR: Your system has gold 2.20 installed.'
echo 'This version is shipped by Ubuntu even though'
echo 'it is known not to work on Ubuntu.'