1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-13 03:09:51 +03:00

main/libucontext: replace CTARGET_ARCH with CARCH

This commit is contained in:
Sertonix 2025-05-09 19:22:07 +02:00 committed by Patrycja Rosa
parent 9014b5902b
commit d6cde48ef3

View file

@ -13,10 +13,10 @@ if [ "$BOOTSTRAP" != "nobase" ]; then
fi
source="https://distfiles.ariadne.space/libucontext/libucontext-$pkgver.tar.xz"
case "$CTARGET_ARCH" in
case "$CARCH" in
arm*) LIBUCONTEXT_ARCH="arm" ;;
ppc64le) LIBUCONTEXT_ARCH="ppc64" ;;
*) LIBUCONTEXT_ARCH="$CTARGET_ARCH" ;;
*) LIBUCONTEXT_ARCH="$CARCH" ;;
esac
build() {