From 24606f71372c26547b9c75754402e6508a21bd20 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 3 Nov 2014 16:30:51 +0000 Subject: [PATCH] runtime: use "$GOC -dumpversion" instead of BASE-VER to discover compiler version From-SVN: r217049 --- libgo/Makefile.am | 2 +- libgo/Makefile.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libgo/Makefile.am b/libgo/Makefile.am index 6d00bcc38c6..3a42250eee7 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 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} -- 2.30.2