diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-02-11 07:51:09 +0800 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-02-11 07:51:09 +0800 |
commit | 7f552c8c12758143cfc68c7c4e0a0449206bf28c (patch) | |
tree | c92749b002d44735f2930518ffa70acf66b23ce7 /security/nss | |
parent | a771bc3dbaca813bac0161a9ae5fd97212c16cce (diff) | |
download | freebsd-ports-gnome-7f552c8c12758143cfc68c7c4e0a0449206bf28c.tar.gz freebsd-ports-gnome-7f552c8c12758143cfc68c7c4e0a0449206bf28c.tar.zst freebsd-ports-gnome-7f552c8c12758143cfc68c7c4e0a0449206bf28c.zip |
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
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/nss/Makefile b/security/nss/Makefile index 162c252ef8ce..c2175cd8b2fc 100644 --- a/security/nss/Makefile +++ b/security/nss/Makefile @@ -58,6 +58,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 |