summaryrefslogtreecommitdiff
path: root/libgo/Makefile.in
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-03 16:30:51 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2014-11-03 16:30:51 +0000
commit5ffe68e4ba95ff9c22b4bc229619984bfcb9d03c (patch)
tree584700aaa12bdef70a95f2bdb4a29bb2c4e1944e /libgo/Makefile.in
parentc4ff8d5018ad4a0ef11e85560061b33557cb23ac (diff)
downloadgcc-5ffe68e4ba95ff9c22b4bc229619984bfcb9d03c.tar.gz
runtime: use "$GOC -dumpversion" instead of BASE-VER to discover compiler version
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@217049 138bc75d-0d04-0410-961f-82ee72b054a4
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 1e085b73a73..97bc9387f71 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}