diff --git a/srcpkgs/nss/template b/srcpkgs/nss/template index 009793009b..c052b11957 100644 --- a/srcpkgs/nss/template +++ b/srcpkgs/nss/template @@ -27,7 +27,7 @@ do_build() { export FREEBL_NO_DEPEND=1 case "$XBPS_MACHINE" in - aarch64*|x86_64*) _native_use64="USE_64=1";; + aarch64*|x86_64*|ppc64*) _native_use64="USE_64=1";; esac cd nss @@ -38,6 +38,7 @@ do_build() { if [ "$CROSS_BUILD" ]; then case "$XBPS_TARGET_MACHINE" in aarch64*) _ARCH="aarch64"; _target_use64="USE_64=1"; CFLAGS+=" -DNS_PTR_GT_32";; + ppc64*) _ARCH="ppc64"; _target_use64="USE_64=1"; CFLAGS+=" -DNS_PTR_GT_32";; arm*) _ARCH="arm";; mips*) _ARCH="mips";; *) msg_error "$pkgver: unknown target machine\n";;