diff --git a/make/ide/visualstudio/hotspot/CreateVSProject.gmk b/make/ide/visualstudio/hotspot/CreateVSProject.gmk index 2f1b7e088a0..17051fd03d0 100644 --- a/make/ide/visualstudio/hotspot/CreateVSProject.gmk +++ b/make/ide/visualstudio/hotspot/CreateVSProject.gmk @@ -35,8 +35,8 @@ ifeq ($(call isTargetOs, windows), true) # The next part is a bit hacky. We include the CompileJvm.gmk to be # able to extract flags, but we do not wish to execute the rules. - # Use server as base for defines and includes - JVM_VARIANT=server + # Use primary variant for defines and includes + JVM_VARIANT := $(JVM_VARIANT_MAIN) include HotspotCommon.gmk include lib/CompileJvm.gmk