8202210: jlink uses little-endian for big-endian cross-compilation targets
authorshade
Wed, 25 Apr 2018 14:53:35 +0200
changeset 49886 22d36f1c0994
parent 49885 b2e74972c7d4
child 49887 39446351e625
8202210: jlink uses little-endian for big-endian cross-compilation targets Reviewed-by: ihse, alanb, stuefe
make/Images.gmk
--- a/make/Images.gmk	Wed Apr 25 13:54:11 2018 +0200
+++ b/make/Images.gmk	Wed Apr 25 14:53:35 2018 +0200
@@ -117,7 +117,7 @@
 
 JLINK_TOOL := $(JLINK) -J-Djlink.debug=true \
     --module-path $(IMAGES_OUTPUTDIR)/jmods \
-    --endian $(OPENJDK_BUILD_CPU_ENDIAN) \
+    --endian $(OPENJDK_TARGET_CPU_ENDIAN) \
     --release-info $(BASE_RELEASE_FILE) \
     --order-resources=$(call CommaList, $(JLINK_ORDER_RESOURCES)) \
     --dedup-legal-notices=error-if-not-same-content \