diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index 4431cc62988..769366f916b 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -14,7 +14,7 @@ checksum=43997a3939b6ccdf2f669b50fdb8a4d3205374728c2923ddc2354c65260214f8 # LDFLAGS is necessary because libunwind.so itself uses getcontext/setcontext case "$XBPS_TARGET_MACHINE" in - ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;; + i686-musl|ppc*-musl) makedepends+=" libucontext-devel"; LDFLAGS=" -lucontext" ;; *) ;; esac @@ -27,7 +27,7 @@ pre_configure() { # it needs to be here because it's used directly in a macro in a # public header, so things using libunwind need linkage against it case "$XBPS_TARGET_MACHINE" in - ppc*-musl) + i686-musl|ppc*-musl) sed -i 's/\-lunwind/\-lunwind \-lucontext/' \ src/unwind/libunwind.pc.in ;; @@ -43,7 +43,7 @@ libunwind-devel_package() { depends="${sourcepkg}>=${version}" case "$XBPS_TARGET_MACHINE" in - ppc*-musl) depends+=" libucontext-devel" ;; + i686-musl|ppc*-musl) depends+=" libucontext-devel" ;; *) ;; esac