diff make/bsd/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 15ba0e7a3ff4
children b9a9ed0f8eeb
line wrap: on
line diff
--- a/make/bsd/makefiles/launcher.make	Tue Sep 18 10:25:20 2012 -0700
+++ b/make/bsd/makefiles/launcher.make	Tue Sep 18 13:15:28 2012 -0700
@@ -101,7 +101,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)
 	# Sign the launcher with the development certificate (if present) so that it can be used
 	# to run JStack, JInfo, et al.