runtime: use "$GOC -dumpversion" instead of BASE-VER to discover compiler version

From-SVN: r217049
This commit is contained in:
Ian Lance Taylor 2014-11-03 16:30:51 +00:00
parent 741233cf4d
commit 24606f7137
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ endif
SUBDIRS = ${subdirs}
gcc_version := $(shell cat $(top_srcdir)/../gcc/BASE-VER)
gcc_version := $(shell $(GOC) -dumpversion)
MAINT_CHARSET = latin1

View File

@ -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}