github pls compile ruby, thanks

This commit is contained in:
Struma 2023-05-08 07:28:26 -04:00
parent 5b2c8c620f
commit 7940412314
2 changed files with 2 additions and 2 deletions

View file

@ -124,7 +124,7 @@ jobs:
build-macos:
name: macOS
runs-on: macos-13
runs-on: macos-latest
steps:
- uses: benjlevesque/short-sha@v2.2
id: short-sha

View file

@ -307,7 +307,7 @@ $(LIBDIR)/libruby.3.1.dylib: $(DOWNLOADS)/ruby/Makefile
$(DOWNLOADS)/ruby/Makefile: $(DOWNLOADS)/ruby/configure
cd $(DOWNLOADS)/ruby; \
export $(CONFIGURE_ENV); \
export CFLAGS="-flto=full $$CFLAGS"; \
export CFLAGS="-flto=full -DRUBY_FUNCTION_NAME_STRING=__func__ $$CFLAGS"; \
export LDFLAGS="-flto=full $$LDFLAGS"; \
./configure $(CONFIGURE_ARGS) $(RUBY_CONFIGURE_ARGS) $(RUBY_FLAGS)