hotspot/make/lib/CompileLibjsig.gmk
changeset 42646 591ef3658bb0
parent 42144 01015af8278d
parent 42559 f71b844f33d1
--- a/hotspot/make/lib/CompileLibjsig.gmk	Wed Dec 07 16:08:23 2016 +0100
+++ b/hotspot/make/lib/CompileLibjsig.gmk	Thu Dec 08 15:49:29 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)