hotspot/make/lib/CompileLibjsig.gmk
changeset 42559 f71b844f33d1
parent 41277 65200988b2ee
child 42646 591ef3658bb0
--- a/hotspot/make/lib/CompileLibjsig.gmk	Fri Nov 11 12:27:22 2016 +0100
+++ b/hotspot/make/lib/CompileLibjsig.gmk	Mon Nov 14 11:15:43 2016 +0100
@@ -48,6 +48,12 @@
         LIBJSIG_CPU_FLAGS := -m64
       else ifeq ($(OPENJDK_TARGET_CPU), x86)
         LIBJSIG_CPU_FLAGS := -m32 -march=i586
+      else ifeq ($(OPENJDK_TARGET_CPU), ppc64)
+        LIBJSIG_CPU_FLAGS := -mcpu=powerpc64 -mtune=power5
+      else ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
+        LIBJSIG_CPU_FLAGS := -DABI_ELFv2 -mcpu=power8 -mtune=power8
+      else ifeq ($(OPENJDK_TARGET_CPU), s390x)
+        LIBJSIG_CPU_FLAGS := -mbackchain -march=z10
       endif
 
     else ifeq ($(OPENJDK_TARGET_OS), solaris)