public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* libgo patch committed: Use -dumpversion rather than looking at BASE-VER
@ 2014-11-03 16:30 Ian Taylor
  0 siblings, 0 replies; only message in thread
From: Ian Taylor @ 2014-11-03 16:30 UTC (permalink / raw)
  To: gcc-patches, gofrontend-dev

[-- Attachment #1: Type: text/plain, Size: 254 bytes --]

This patch from Peter Collingbourne changes the libgo install to get
the version number from gccgo -dumpversion rather than looking at the
BASE-VER file in the gcc source directory.  Bootstrapped on
x86_64-unknown-linux-gnu.  Committed to mainline.

Ian

[-- Attachment #2: foo.txt --]
[-- Type: text/plain, Size: 325 bytes --]

diff -r 21b8b46b67f2 libgo/Makefile.am
--- a/libgo/Makefile.am	Tue Oct 28 15:56:23 2014 -0700
+++ b/libgo/Makefile.am	Mon Nov 03 08:29:13 2014 -0800
@@ -15,7 +15,7 @@
 
 SUBDIRS = ${subdirs}
 
-gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+gcc_version := $(shell $(GOC) -dumpversion)
 
 MAINT_CHARSET = latin1
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-11-03 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-03 16:30 libgo patch committed: Use -dumpversion rather than looking at BASE-VER Ian Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).