7027923: Disable VS2003 use in preparation for all VS2003 make logic removal
authorohair
Wed, 16 Mar 2011 15:01:07 -0700
changeset 8593 d7436373981b
parent 8592 c22d2d0a1ff6
child 8594 5ea89213a078
7027923: Disable VS2003 use in preparation for all VS2003 make logic removal Reviewed-by: prr
jdk/make/common/shared/Compiler-msvc.gmk
--- a/jdk/make/common/shared/Compiler-msvc.gmk	Wed Mar 16 09:42:55 2011 -0700
+++ b/jdk/make/common/shared/Compiler-msvc.gmk	Wed Mar 16 15:01:07 2011 -0700
@@ -153,6 +153,9 @@
   ifndef COMPILER_VERSION
     COMPILER_VERSION := $(error COMPILER_VERSION cannot be empty here)
   endif
+  ifneq ($(COMPILER_VERSION),VS2010)
+    COMPILER_VERSION := $(error COMPILER_VERSION must be VS2010)
+  endif
   
   # Shared library generation flag
   SHARED_LIBRARY_FLAG = -LD