libucontext: use proper arch for targeting ppc64

This commit is contained in:
q66 2019-01-08 00:34:17 +01:00 committed by Helmut Pozimski
parent ad7ee78d67
commit 46b9032afe

View file

@ -13,6 +13,7 @@ checksum=da530b2f4469f9adcef678b9c1bf07f2a66ea922251d9bcf13b691f09a08883e
case "${XBPS_TARGET_MACHINE}" in
arm*) export LIBUCONTEXT_ARCH="arm";;
i686*) export LIBUCONTEXT_ARCH="x86";;
ppc64*) export LIBUCONTEXT_ARCH="ppc64";;
*) export LIBUCONTEXT_ARCH="${XBPS_TARGET_MACHINE%%-musl}";;
esac