diff make/linux/makefiles/defs.make @ 17830:56e7f5560e60

8036767: PPC64: Support for little endian execution model Reviewed-by: goetz, kvn, dholmes, simonis Contributed-by: asmundak@google.com
author kvn
date Wed, 02 Apr 2014 11:24:44 -0700
parents faf0c78e906b
children 52b4284cb496 ddce0b7cee93
line wrap: on
line diff
--- a/make/linux/makefiles/defs.make	Mon Mar 31 13:08:03 2014 -0700
+++ b/make/linux/makefiles/defs.make	Wed Apr 02 11:24:44 2014 -0700
@@ -33,6 +33,11 @@
 # ARCH can be set explicitly in spec.gmk
 ifndef ARCH
   ARCH := $(shell uname -m)
+  # Fold little endian PowerPC64 into big-endian (if ARCH is set in
+  # hotspot-spec.gmk, this will be done by the configure script).
+  ifeq ($(ARCH),ppc64le)
+    ARCH := ppc64
+  endif
 endif
 
 PATH_SEP ?= :