1.1 --- a/make/linux/makefiles/sparcWorks.make Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/make/linux/makefiles/sparcWorks.make Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -74,6 +74,11 @@ 1.4 OPT_CFLAGS+=-xO4 1.5 OPT_CFLAGS/NOOPT=-xO0 1.6 1.7 +# Flags for creating the dependency files. 1.8 +ifeq ($(shell expr $(COMPILER_REV_NUMERIC) \>= 509), 1) 1.9 +DEPFLAGS = -xMMD -xMF $(DEP_DIR)/$(@:%=%.d) 1.10 +endif 1.11 + 1.12 #------------------------------------------------------------------------ 1.13 # Linker flags 1.14