hotspot/make/linux/makefiles/sparcWorks.make
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
child 7408 c04a5c989f26
--- a/hotspot/make/linux/makefiles/sparcWorks.make	Tue Nov 23 15:01:43 2010 -0500
+++ b/hotspot/make/linux/makefiles/sparcWorks.make	Tue Nov 23 13:22:55 2010 -0800
@@ -74,6 +74,11 @@
 OPT_CFLAGS+=-xO4
 OPT_CFLAGS/NOOPT=-xO0
 
+# Flags for creating the dependency files.
+ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1)
+DEPFLAGS = -xMMD -xMF $(DEP_DIR)/$(@:%=%.d)
+endif
+
 #------------------------------------------------------------------------
 # Linker flags