jdk/make/common/shared/Compiler-sun.gmk
changeset 7485 e9e65ce0013a
parent 6373 23ec4a141fc9
child 7668 d4a77089c587
--- a/jdk/make/common/shared/Compiler-sun.gmk	Fri Dec 03 17:36:25 2010 -0800
+++ b/jdk/make/common/shared/Compiler-sun.gmk	Sun Dec 05 15:51:31 2010 +0300
@@ -61,6 +61,7 @@
 # Get compiler version
 _CC_VER :=$(shell $(CC) -V 2>&1 | $(HEAD) -n 1)
 CC_VER  :=$(call GetVersion,"$(_CC_VER)")
+CC_MAJORVER  :=$(call MajorVersion,$(CC_VER))
 CC_MINORVER  :=$(call MinorVersion,$(CC_VER))
 
 # Name of compilers being used