ruby: Bump to 3.2.7 and actually build with optimizations.

I tested one basic benchmark, it went from ~613ms
to ~89ms, so this is quite the difference.
This commit is contained in:
Augustin Cavalier
2025-02-18 17:43:12 -05:00
parent 13d5bc67d1
commit 0f1922efe1
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ LICENSE="Ruby
BSD (3-clause)"
REVISION="1"
SOURCE_URI="https://cache.ruby-lang.org/pub/ruby/3.2/ruby-$portVersion.tar.gz"
CHECKSUM_SHA256="ef0610b498f60fb5cfd77b51adb3c10f4ca8ed9a17cb87c61e5bea314ac34a16"
CHECKSUM_SHA256="8488fa620ff0333c16d437f2b890bba3b67f8745fdecb1472568a6114aad9741"
SOURCE_DIR="ruby-$portVersion"
PATCHES="ruby-$portVersion.patchset"
ADDITIONAL_FILES="gemrc"
@@ -104,7 +104,7 @@ defineDebugInfoPackage ruby$secondaryArchSuffix \
BUILD()
{
CFLAGS="-D_BSD_SOURCE" \
CFLAGS="-O2 -g -D_BSD_SOURCE" \
LDFLAGS="-lbsd" \
runConfigure --omit-dirs binDir ./configure \
--bindir=$prefix/bin \