libunwind: also need ssp_nonshared on ppc-musl

This commit is contained in:
q66 2020-11-15 01:53:34 +01:00
parent ecefdebc47
commit 2b2478a414

View file

@ -17,7 +17,8 @@ CFLAGS="-fcommon"
# LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext
case "$XBPS_TARGET_MACHINE" in
i686-musl) LDFLAGS=" -lssp_nonshared" ;;
ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;;
ppc64*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;;
ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext -lssp_nonshared" ;;
*) ;;
esac