make/linux/makefiles/defs.make

Print this page
rev 6626 : 8048232: Fix for 8046471 breaks PPC64 build
Reviewed-by: mikael

@@ -106,11 +106,13 @@
   VM_PLATFORM      = linux_arm
   HS_ARCH          = arm
 endif
 
 # PPC
-ifneq (,$(findstring $(ARCH), ppc))
+# Notice: after 8046471 ARCH will be 'ppc' for top-level ppc64 builds but
+# 'ppc64' for HotSpot-only ppc64 builds. Need to detect both variants here!
+ifneq (,$(findstring $(ARCH), ppc ppc64))
   ifeq ($(ARCH_DATA_MODEL), 64)
     MAKE_ARGS        += LP64=1
     PLATFORM         = linux-ppc64
     VM_PLATFORM      = linux_ppc64
   else