mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-15 13:46:58 +02:00
ruby: use ppc64le coroutine on all ppc64
This commit is contained in:
parent
7df9a90c1f
commit
0f6cffa403
1 changed files with 5 additions and 2 deletions
|
@ -34,7 +34,10 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
arm*-musl) # Default is ucontext
|
||||
configure_args+=" --with-coroutine=arm32"
|
||||
;;
|
||||
ppc64-musl|ppc-musl) makedepends+=" libucontext-devel";;
|
||||
ppc64*) # Default is ucontext on BE, but ppc64le really just means ELFv2
|
||||
configure_args+=" --with-coroutine=ppc64le"
|
||||
;;
|
||||
ppc-musl) makedepends+=" libucontext-devel";;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
|
@ -48,7 +51,7 @@ post_patch() {
|
|||
patch -sNp1 -i ${FILESDIR}/rubygems-avoid-platform-specific-gems.patch
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64-musl|ppc-musl)
|
||||
ppc-musl)
|
||||
vsed -i 's,^EXTLIBS =$,EXTLIBS = -lucontext,' template/Makefile.in
|
||||
vsed -i 's, \-lc\",-lc -lucontext\",g' configure
|
||||
;;
|
||||
|
|
Loading…
Add table
Reference in a new issue