summaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-20 16:41:58 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-12-22 22:10:26 +0900
commit2f2530b195008209e1d9e4e9734509d5f956fa49 (patch)
tree4ed449af1caf58a1081ecb15417ee39fb09f251b /template
parent626037e143886bb5d15b3c5ebf1e04fc711407fa (diff)
Allow variables in modular_gc_dir
Such as `$(ruby_version)`, `$(arch)` and so on.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/12428
Diffstat (limited to 'template')
-rw-r--r--template/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 39d5bdd156..25c788f565 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -97,7 +97,7 @@ cppflags = @cppflags@
incflags = @incflags@
RUBY_DEVEL = @RUBY_DEVEL@ # "yes" or empty
_RUBY_DEVEL_enabled = $(RUBY_DEVEL:no=)
-XCFLAGS = @XCFLAGS@ $(INCFLAGS) $(_RUBY_DEVEL_enabled:yes=-DRUBY_DEVEL=1)
+XCFLAGS = @XCFLAGS@ $(INCFLAGS) $(_RUBY_DEVEL_enabled:yes=-DRUBY_DEVEL=1) -Dmodular_gc_dir="$(modular_gc_dir)"
USE_RUBYGEMS = @USE_RUBYGEMS@
USE_RUBYGEMS_ = $(USE_RUBYGEMS:yes=)
CPPFLAGS = @CPPFLAGS@ $(USE_RUBYGEMS_:no=-DDISABLE_RUBYGEMS=1)