main/ruby: remove fix on s390x

This commit is contained in:
Dmitry Davydov 2024-07-01 23:38:05 +07:00 committed by J0WI
parent aa58a9ef33
commit bea1352536

View file

@ -7,7 +7,7 @@ pkgname=ruby
# create/move it.
pkgver=3.3.3
_abiver="${pkgver%.*}.0"
pkgrel=0
pkgrel=1
pkgdesc="An object-oriented language for quick and easy programming"
url="https://www.ruby-lang.org/"
arch="all"
@ -151,12 +151,6 @@ build() {
# ruby saves path to install. we want use $PATH
export INSTALL=install
case "$CARCH" in
# Ruby segfaults when built with default (-O3).
# See https://bugs.ruby-lang.org/issues/20099.
s390x) export optflags="-O2";;
esac
# the configure script does not detect isnan/isinf as macros
export ac_cv_func_isnan=yes
export ac_cv_func_isinf=yes