package/ruby: disable unsupported yjit

The yjit feature requires rust toolchain support, since we don't
currently handle setting up the rust toolchain for ruby lets disable
this feature for now.

This broke when ruby was bumped to version 3.3.0 in buildroot commit
a01c278df7.

Fixes:
linking static-library libruby-static.a
LLVM ERROR: Invalid encoding
make[2]: *** [Makefile:318: libruby-static.a] Aborted

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard 2024-02-05 11:33:08 -07:00 committed by Thomas Petazzoni
parent 0a1f2fce04
commit b3613cc9b3

View File

@ -22,9 +22,14 @@ RUBY_CPE_ID_VENDOR = ruby-lang
RUBY_DEPENDENCIES = host-pkgconf host-ruby
HOST_RUBY_DEPENDENCIES = host-pkgconf host-openssl
RUBY_MAKE_ENV = $(TARGET_MAKE_ENV)
RUBY_CONF_OPTS = --disable-install-doc --disable-rpath --disable-rubygems
RUBY_CONF_OPTS = \
--disable-install-doc \
--disable-rpath \
--disable-rubygems \
--disable-yjit
HOST_RUBY_CONF_OPTS = \
--disable-install-doc \
--disable-yjit \
--with-out-ext=curses,readline \
--without-gmp