aboutsummaryrefslogtreecommitdiff
path: root/libgo/Makefile.in
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2015-01-21 23:03:41 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2015-01-21 23:03:41 +0000
commit663203471858a2a34ff52a7fe658beb43d498286 (patch)
tree55b9a98dd1e812ff9897d0df120c94326e0e1864 /libgo/Makefile.in
parent98f510444c41861865ac4d815df738fbc0fac93a (diff)
downloadgcc-663203471858a2a34ff52a7fe658beb43d498286.zip
gcc-663203471858a2a34ff52a7fe658beb43d498286.tar.gz
gcc-663203471858a2a34ff52a7fe658beb43d498286.tar.bz2
runtime: Add the Go language version information to the Version output.
From-SVN: r219976
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r--libgo/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 7c8fc32..c908869 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -4387,7 +4387,7 @@ s-version: Makefile
rm -f version.go.tmp
echo "package runtime" > version.go.tmp
echo 'const defaultGoroot = "$(prefix)"' >> version.go.tmp
- echo 'const theVersion = "'`$(GOC) --version | sed 1q`'"' >> version.go.tmp
+ echo 'const theVersion = "'`cat $(srcdir)/VERSION | sed 1q`' '`$(GOC) --version | sed 1q`'"' >> version.go.tmp
echo 'const theGoarch = "'$(GOARCH)'"' >> version.go.tmp
echo 'const theGoos = "'$(GOOS)'"' >> version.go.tmp
echo 'const theGccgoToolDir = "$(libexecsubdir)"' >> version.go.tmp