Mercurial > hg > graal-jvmci-8
comparison make/bsd/makefiles/vm.make @ 6776:37518f191ddb
7198329: Add $(sort) to object files used in links makes binarties more consistent
Reviewed-by: dholmes, tbell, erikj, ihse, ohrstrom
author | ohair |
---|---|
date | Tue, 18 Sep 2012 13:15:28 -0700 |
parents | 3d7ea1dbe0de |
children | fb19af007ffc |
comparison
equal
deleted
inserted
replaced
6775:06be7f06c2de | 6776:37518f191ddb |
---|---|
309 $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) $(LD_SCRIPT) | 309 $(LIBJVM): $(LIBJVM.o) $(LIBJVM_MAPFILE) $(LD_SCRIPT) |
310 $(QUIETLY) { \ | 310 $(QUIETLY) { \ |
311 echo Linking vm...; \ | 311 echo Linking vm...; \ |
312 $(LINK_LIB.CXX/PRE_HOOK) \ | 312 $(LINK_LIB.CXX/PRE_HOOK) \ |
313 $(LINK_VM) $(LD_SCRIPT_FLAG) \ | 313 $(LINK_VM) $(LD_SCRIPT_FLAG) \ |
314 $(LFLAGS_VM) -o $@ $(LIBJVM.o) $(LIBS_VM); \ | 314 $(LFLAGS_VM) -o $@ $(sort $(LIBJVM.o)) $(LIBS_VM); \ |
315 $(LINK_LIB.CXX/POST_HOOK) \ | 315 $(LINK_LIB.CXX/POST_HOOK) \ |
316 rm -f $@.1; ln -s $@ $@.1; \ | 316 rm -f $@.1; ln -s $@ $@.1; \ |
317 [ -f $(LIBJVM_G) ] || { ln -s $@ $(LIBJVM_G); ln -s $@.1 $(LIBJVM_G).1; }; \ | 317 [ -f $(LIBJVM_G) ] || { ln -s $@ $(LIBJVM_G); ln -s $@.1 $(LIBJVM_G).1; }; \ |
318 } | 318 } |
319 | 319 |