diff make/linux/makefiles/launcher.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 719f7007c8e8
children b9a9ed0f8eeb
line wrap: on
line diff
--- a/make/linux/makefiles/launcher.make	Tue Sep 18 10:25:20 2012 -0700
+++ b/make/linux/makefiles/launcher.make	Tue Sep 18 13:15:28 2012 -0700
@@ -82,7 +82,7 @@
 $(LAUNCHER): $(OBJS) $(LIBJVM) $(LAUNCHER_MAPFILE)
 	$(QUIETLY) echo Linking launcher...
 	$(QUIETLY) $(LINK_LAUNCHER/PRE_HOOK)
-	$(QUIETLY) $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(OBJS) $(LIBS_LAUNCHER)
+	$(QUIETLY) $(LINK_LAUNCHER) $(LFLAGS_LAUNCHER) -o $@ $(sort $(OBJS)) $(LIBS_LAUNCHER)
 	$(QUIETLY) $(LINK_LAUNCHER/POST_HOOK)
 
 $(LAUNCHER): $(LAUNCHER_SCRIPT)