diff --git a/closed/custom/modules/java.base/Copy.gmk b/closed/custom/modules/java.base/Copy.gmk index a20152e2304..13f9e9bc465 100644 --- a/closed/custom/modules/java.base/Copy.gmk +++ b/closed/custom/modules/java.base/Copy.gmk @@ -245,7 +245,7 @@ endif # OPENSSL_BUNDLE_LIB_PATH ################################################################################ # Copy the nss.fips.cfg only on x86 linux -ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH), linux-x86) +ifneq ($(filter linux-x86 linux-ppc64le linux-s390x, $(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_ARCH)), ) NSS_FIPS_CFG_SRC := $(TOPDIR)/closed/src/java.base/share/conf/security/nss.fips.cfg NSS_FIPS_CFG_DST := $(CONF_DST_DIR)/security/nss.fips.cfg diff --git a/src/java.base/share/conf/security/java.security b/src/java.base/share/conf/security/java.security index 714343f0923..2fb8a54fa94 100644 --- a/src/java.base/share/conf/security/java.security +++ b/src/java.base/share/conf/security/java.security @@ -82,7 +82,7 @@ security.provider.tbd=Apple #endif security.provider.tbd=SunPKCS11 -#if defined linux-x86 || defined linux-ppc64le || defined linux-s390x +#if defined (linux-x86) && defined (linux-ppc64le) && defined (linux-s390x) # # Java Restricted Security Mode #