jdk/make/common/shared/Compiler-msvc.gmk
changeset 8593 d7436373981b
parent 8008 753c38f4af83
child 8827 f0f30d988312
--- 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