diff options
author | Nobuyoshi Nakada <[email protected]> | 2024-12-20 16:41:58 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2024-12-22 22:10:26 +0900 |
commit | 2f2530b195008209e1d9e4e9734509d5f956fa49 () | |
tree | 4ed449af1caf58a1081ecb15417ee39fb09f251b | |
parent | 626037e143886bb5d15b3c5ebf1e04fc711407fa (diff) |
Allow variables in modular_gc_dir
Such as `$(ruby_version)`, `$(arch)` and so on.
Notes: Merged: https://.com/ruby/ruby/pull/12428
-rw-r--r-- | gc.c | 1 | ||||
-rw-r--r-- | template/Makefile.in | 2 | ||||
-rw-r--r-- | win32/Makefile.sub | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -707,6 +707,7 @@ typedef struct gc_function_map { static rb_gc_function_map_t rb_gc_functions; # define RUBY_GC_LIBRARY "RUBY_GC_LIBRARY" static void ruby_modular_gc_init(void) @@ -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) USE_RUBYGEMS = @USE_RUBYGEMS@ USE_RUBYGEMS_ = $(USE_RUBYGEMS:yes=) CPPFLAGS = @CPPFLAGS@ $(USE_RUBYGEMS_:no=-DDISABLE_RUBYGEMS=1) @@ -156,6 +156,9 @@ DEBUGFLAGS = -Zi !if "$(RUBY_DEVEL)" == "yes" XCFLAGS = $(XCFLAGS) -DRUBY_DEVEL=1 !endif !if !defined(OPTFLAGS) !if $(MSC_VER) < 1400 OPTFLAGS = -O2b2xg- |