hotspot/make/linux/makefiles/defs.make
changeset 23532 7e8719ce96ea
parent 22818 34cd99df9940
child 25331 59a7d98a5268
--- a/hotspot/make/linux/makefiles/defs.make	Wed Apr 02 10:16:46 2014 +0200
+++ b/hotspot/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 ?= :