7003786: sort Obj_Files before compiling
authorstefank
Thu, 02 Dec 2010 20:01:47 +0100
changeset 7409 e9017b2bef9c
parent 7408 c04a5c989f26
child 7410 f5b282e7a7a6
7003786: sort Obj_Files before compiling Summary: Reverted to old sort order on Linux and Solaris. Reviewed-by: tonyp, coleenp
hotspot/make/linux/makefiles/vm.make
hotspot/make/solaris/makefiles/vm.make
--- a/hotspot/make/linux/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
+++ b/hotspot/make/linux/makefiles/vm.make	Thu Dec 02 20:01:47 2010 +0100
@@ -173,7 +173,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)
 
--- a/hotspot/make/solaris/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
+++ b/hotspot/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)