mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00

We have name fragmentation for this feature, including "shared GC", "modular GC", and "external GC". This commit standardizes the feature name to "modular GC" and the implementation to "GC library".
14 lines
245 B
Ruby
14 lines
245 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "mkmf"
|
|
|
|
srcdir = File.join(__dir__, "..")
|
|
$INCFLAGS << " -I#{srcdir}"
|
|
|
|
$CPPFLAGS << " -DBUILDING_MODULAR_GC"
|
|
|
|
append_cflags("-fPIC")
|
|
|
|
def create_gc_makefile(name)
|
|
create_makefile("librubygc.#{name}")
|
|
end
|