--- a/hotspot/make/windows/makefiles/debug.make Thu Dec 02 14:00:03 2010 -0500
+++ b/hotspot/make/windows/makefiles/debug.make Wed Dec 01 15:04:06 2010 +0100
@@ -28,7 +28,12 @@
SAWINDBG=sawindbg.dll
GENERATED=../generated
-default:: _build_pch_file.obj $(AOUT) checkAndBuildSA
+# Allow the user to turn off precompiled headers from the command line.
+!if "$(USE_PRECOMPILED_HEADER)" != "0"
+BUILD_PCH_FILE=_build_pch_file.obj
+!endif
+
+default:: $(BUILD_PCH_FILE) $(AOUT) checkAndBuildSA
!include ../local.make
!include compile.make