7003786: sort Obj_Files before compiling

Thu, 02 Dec 2010 20:01:47 +0100

author
stefank
date
Thu, 02 Dec 2010 20:01:47 +0100
changeset 2326
2968675b413e
parent 2325
c760f78e0a53
child 2327
cb2d0a362639

7003786: sort Obj_Files before compiling
Summary: Reverted to old sort order on Linux and Solaris.
Reviewed-by: tonyp, coleenp

make/linux/makefiles/vm.make file | annotate | diff | comparison | revisions
make/solaris/makefiles/vm.make file | annotate | diff | comparison | revisions
     1.1 --- a/make/linux/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
     1.2 +++ b/make/linux/makefiles/vm.make	Thu Dec 02 20:01:47 2010 +0100
     1.3 @@ -173,7 +173,7 @@
     1.4  
     1.5  Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
     1.6  
     1.7 -Obj_Files = $(addsuffix .o,$(basename $(Src_Files)))
     1.8 +Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
     1.9  
    1.10  JVM_OBJ_FILES = $(Obj_Files)
    1.11  
     2.1 --- a/make/solaris/makefiles/vm.make	Wed Dec 01 15:04:06 2010 +0100
     2.2 +++ b/make/solaris/makefiles/vm.make	Thu Dec 02 20:01:47 2010 +0100
     2.3 @@ -189,7 +189,7 @@
     2.4  
     2.5  Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
     2.6  
     2.7 -Obj_Files = $(addsuffix .o,$(basename $(Src_Files)))
     2.8 +Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
     2.9  
    2.10  JVM_OBJ_FILES = $(Obj_Files) $(DTRACE_OBJS)
    2.11  

mercurial