diff --git a/srcpkgs/ruby/template b/srcpkgs/ruby/template index b5eb453007d..137d46a311d 100644 --- a/srcpkgs/ruby/template +++ b/srcpkgs/ruby/template @@ -30,6 +30,11 @@ case "$XBPS_TARGET_MACHINE" in ;; esac +case "$XBPS_TARGET_MACHINE" in + arm*-musl) # Default is ucontext + configure_args+=" --with-coroutine=arm32" + ;; +esac if [ "$CROSS_BUILD" ]; then hostmakedepends+=" ruby"