Mercurial > hg > truffle
comparison make/linux/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 | e7ad5f6f4d29 |
comparison
equal
deleted
inserted
replaced
1983:c760f78e0a53 | 1984:2968675b413e |
---|---|
171 $(notdir $(shell find $(1) \( -name \*.c -o -name \*.cpp -o -name \*.s \) -a \! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \) )) | 171 $(notdir $(shell find $(1) \( -name \*.c -o -name \*.cpp -o -name \*.s \) -a \! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \) )) |
172 endef | 172 endef |
173 | 173 |
174 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e))) | 174 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e))) |
175 | 175 |
176 Obj_Files = $(addsuffix .o,$(basename $(Src_Files))) | 176 Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files)))) |
177 | 177 |
178 JVM_OBJ_FILES = $(Obj_Files) | 178 JVM_OBJ_FILES = $(Obj_Files) |
179 | 179 |
180 vm_version.o: $(filter-out vm_version.o,$(JVM_OBJ_FILES)) | 180 vm_version.o: $(filter-out vm_version.o,$(JVM_OBJ_FILES)) |
181 | 181 |