diff --git a/make/Images.gmk b/make/Images.gmk index 2e5ddba2147..3514d2f3ee6 100644 --- a/make/Images.gmk +++ b/make/Images.gmk @@ -117,7 +117,7 @@ JLINK_ORDER_RESOURCES += \ 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 \