7003786: sort Obj_Files before compiling
Summary: Reverted to old sort order on Linux and Solaris.
Reviewed-by: tonyp, coleenp
--- 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)