summaryrefslogtreecommitdiff
path: root/gc/extconf_base.rb
blob: 0cbb09d5ea93323d34a591b9d012ed2a151ce280 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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