hotspot/make/windows/makefiles/product.make
changeset 7408 c04a5c989f26
parent 7397 5b173b4ca846
child 7410 f5b282e7a7a6
--- a/hotspot/make/windows/makefiles/product.make	Thu Dec 02 14:00:03 2010 -0500
+++ b/hotspot/make/windows/makefiles/product.make	Wed Dec 01 15:04:06 2010 +0100
@@ -27,7 +27,12 @@
 AOUT=$(HS_FNAME)
 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