--- a/jdk/make/common/shared/Compiler-gcc.gmk Mon Mar 09 13:34:14 2009 -0700
+++ b/jdk/make/common/shared/Compiler-gcc.gmk Mon Mar 16 11:24:06 2009 -0700
@@ -27,8 +27,6 @@
# GCC Compiler settings
#
-COMPILER_NAME=GCC
-
ifeq ($(PLATFORM), windows)
# Settings specific to Windows, pretty stale, hasn't been used
@@ -90,3 +88,7 @@
_CC_VER :=$(shell $(CC) -dumpversion 2>&1 )
CC_VER :=$(call GetVersion,"$(_CC_VER)")
+# Name of compiler
+COMPILER_NAME = GCC$(call MajorVersion,$(CC_VER))
+COMPILER_VERSION = $(COMPILER_NAME)
+