diff make/solaris/makefiles/vm.make @ 1984:2968675b413e

7003786: sort Obj_Files before compiling Summary: Reverted to old sort order on Linux and Solaris. Reviewed-by: tonyp, coleenp
author stefank
date Thu, 02 Dec 2010 20:01:47 +0100
parents f95d63e2154a
children 54f5dd2aa1d9 c04052fd6ae1
line wrap: on
line diff
--- a/make/solaris/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
+++ b/make/solaris/makefiles/vm.make	Thu Dec 02 20:01:47 2010 +0100
@@ -189,7 +189,7 @@
 
 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
 
-Obj_Files = $(addsuffix .o,$(basename $(Src_Files)))
+Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
 
 JVM_OBJ_FILES = $(Obj_Files) $(DTRACE_OBJS)