MFH: r525766

security/nss: disable AltiVec on 32-bit powerpc

Crypto acceleration is only implemented for powerpc64 but build flags
leak to other powerpc targets. Disable via a variable introduced in 3.50.

PR:		242523
Reported by:	many
Approved by:	ports-secteam blanket
This commit is contained in:
Jan Beich 2020-02-10 23:52:08 +00:00
parent 3bf4987e3f
commit 72084d1010
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=525767

View File

@ -57,6 +57,8 @@ BINS= ${DIST}/${OPSYS}${OSREL}_DBG.OBJ
.if ${ARCH} == powerpc64
USES+= compiler:c++11-lang # -mcrypto -mvsx
.else
MAKE_ENV+= NSS_DISABLE_ALTIVEC=1
.endif
.if ${OPSYS} == FreeBSD && ${ARCH} == amd64