diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index d3f7cb92ef1..f520421b20d 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -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