[ruby/mmtk] Set MMTK_DEBUG in C compiler for debug builds

https://github.com/ruby/mmtk/commit/12a3904b04
This commit is contained in:
Peter Zhu 2026-01-05 18:31:38 -05:00 committed by git
parent a024dca391
commit 08f6b8673a

View File

@ -15,6 +15,10 @@ create_gc_makefile("mmtk") do |makefile|
MMTK_BUILD = debug
LIBMMTK_RUBY = libmmtk_ruby.#$LIBEXT
RUSTSRCS = #{rustsrcs.join(" \\\n\t ")}
ifeq ($(MMTK_BUILD), debug)
CPPFLAGS += -DMMTK_DEBUG
endif
MAKEFILE
]
end