diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-09-07 18:06:57 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-09-07 18:06:57 -0700 |
commit | 8703298c9881647a622a941b05757df2794211a3 (patch) | |
tree | 80a49628766dae63cb3d084502f69335726e8410 /dev-libs | |
parent | app-admin/salt-3003.3: Version bump (diff) | |
download | gentoo-8703298c9881647a622a941b05757df2794211a3.tar.gz gentoo-8703298c9881647a622a941b05757df2794211a3.tar.bz2 gentoo-8703298c9881647a622a941b05757df2794211a3.zip |
dev-libs/nss: re-introduce cpu_flags_ppc to 3.70
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/nss/nss-3.70.ebuild | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-libs/nss/nss-3.70.ebuild b/dev-libs/nss/nss-3.70.ebuild index 2b0b9c2e6285..973f651b763d 100644 --- a/dev-libs/nss/nss-3.70.ebuild +++ b/dev-libs/nss/nss-3.70.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$ LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" -IUSE="cacert utils" +IUSE="cacert utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx" # pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND RDEPEND=" >=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}] @@ -168,6 +168,15 @@ multilib_src_compile() { export CC_IS_CLANG=1 fi + # explicitly disable altivec/vsx if not requested + # https://bugs.gentoo.org/789114 + case ${ARCH} in + ppc*) + use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1 + use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1 + ;; + esac + local d # Build the host tools first. |