summaryrefslogtreecommitdiff
path: root/system/nss
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2020-04-18 22:24:14 -0400
committerMax Rees <maxcrees@me.com>2020-04-18 22:24:14 -0400
commitdb3f223c76bd252b421b6f6cb4ef94e6c84561e7 (patch)
tree3c6c0fe585225e557ced4e53d53c35b7342c0662 /system/nss
parent36b28239a67475e728fc48a2716afd0f16f99a68 (diff)
downloadpackages-db3f223c76bd252b421b6f6cb4ef94e6c84561e7.tar.gz
packages-db3f223c76bd252b421b6f6cb4ef94e6c84561e7.tar.bz2
packages-db3f223c76bd252b421b6f6cb4ef94e6c84561e7.tar.xz
packages-db3f223c76bd252b421b6f6cb4ef94e6c84561e7.zip
system/nss: fix baseline ppc* support
Diffstat (limited to 'system/nss')
-rw-r--r--system/nss/APKBUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/system/nss/APKBUILD b/system/nss/APKBUILD
index 687e938fd..944668272 100644
--- a/system/nss/APKBUILD
+++ b/system/nss/APKBUILD
@@ -3,7 +3,7 @@
pkgname=nss
pkgver=3.51
_ver=$(printf '%s' "$pkgver" | tr . _)
-pkgrel=0
+pkgrel=1
pkgdesc="Mozilla Network Security Services"
url="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
arch="all"
@@ -49,6 +49,17 @@ build() {
case "$CARCH" in
*64* | s390x) export USE_64=1;;
esac
+
+ # This actually enables -mvsx and -mcrypto too, and those can't
+ # be turned off separately in this case:
+ #
+ # altivec-types.h:20:1: error: use of _long long_ in AltiVec
+ # types is invalid without _-mvsx_
+ #
+ # typedef __vector signed long long vec_s64;
+ # ^~~~~~~
+ export NSS_DISABLE_ALTIVEC=1
+
make -j 1 -C nss/coreconf
make -j 1 -C nss/lib/dbm
make -j 1 -C nss