aboutsummaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2014-11-03 16:30:51 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2014-11-03 16:30:51 +0000
commit24606f71372c26547b9c75754402e6508a21bd20 (patch)
tree584700aaa12bdef70a95f2bdb4a29bb2c4e1944e /libgo
parent741233cf4dd17bab955b10854eb61fd9e6b419ce (diff)
downloadgcc-24606f71372c26547b9c75754402e6508a21bd20.zip
gcc-24606f71372c26547b9c75754402e6508a21bd20.tar.gz
gcc-24606f71372c26547b9c75754402e6508a21bd20.tar.bz2
runtime: use "$GOC -dumpversion" instead of BASE-VER to discover compiler version
From-SVN: r217049
Diffstat (limited to 'libgo')
-rw-r--r--libgo/Makefile.am2
-rw-r--r--libgo/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 6d00bcc..3a42250 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -15,7 +15,7 @@ endif
SUBDIRS = ${subdirs}
-gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+gcc_version := $(shell $(GOC) -dumpversion)
MAINT_CHARSET = latin1
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 1e085b7..97bc938 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -430,7 +430,7 @@ top_srcdir = @top_srcdir@
SUFFIXES = .c .go .gox .o .obj .lo .a
@LIBGO_IS_RTEMS_TRUE@subdirs = testsuite
SUBDIRS = ${subdirs}
-gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
+gcc_version := $(shell $(GOC) -dumpversion)
MAINT_CHARSET = latin1
mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
PWD_COMMAND = $${PWDCMD-pwd}