changeset 49895:22d36f1c0994

8202210: jlink uses little-endian for big-endian cross-compilation targets Reviewed-by: ihse, alanb, stuefe
author shade
date Wed, 25 Apr 2018 14:53:35 +0200
parents b2e74972c7d4
children 39446351e625
files make/Images.gmk
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 \