nss: fix build on ppc64 targets
[ci skip]
This commit is contained in:
parent
81ccdf7090
commit
3f11b276d3
1 changed files with 2 additions and 1 deletions
|
@ -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";;
|
||||
|
|
Loading…
Reference in a new issue