hotspot/make/linux/makefiles/gcc.make
changeset 12943 5ebbcf0cb20f
parent 12503 9df71f999005
child 13473 9bbabe271025
--- a/hotspot/make/linux/makefiles/gcc.make	Mon Jun 11 10:28:02 2012 +0200
+++ b/hotspot/make/linux/makefiles/gcc.make	Mon Jun 11 13:10:14 2012 -0400
@@ -166,7 +166,7 @@
 
 # Flags for generating make dependency flags.
 ifneq ("${CC_VER_MAJOR}", "2")
-DEPFLAGS = -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
+DEPFLAGS = -fpch-deps -MMD -MP -MF $(DEP_DIR)/$(@:%=%.d)
 endif
 
 # -DDONT_USE_PRECOMPILED_HEADER will exclude all includes in precompiled.hpp.