aboutsummaryrefslogtreecommitdiffstats
path: root/security/nss
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2020-02-11 07:51:09 +0800
committerJan Beich <jbeich@FreeBSD.org>2020-02-11 07:51:09 +0800
commit7f552c8c12758143cfc68c7c4e0a0449206bf28c (patch)
treec92749b002d44735f2930518ffa70acf66b23ce7 /security/nss
parenta771bc3dbaca813bac0161a9ae5fd97212c16cce (diff)
downloadfreebsd-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/Makefile2
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