Allow variables in modular_gc_dir

Such as `$(ruby_version)`, `$(arch)` and so on.
This commit is contained in:
Nobuyoshi Nakada 2024-12-20 16:41:58 +09:00
parent 626037e143
commit 2f2530b195
No known key found for this signature in database
GPG key ID: 3582D74E1FEE4465
Notes: git 2024-12-22 13:42:57 +00:00
3 changed files with 5 additions and 1 deletions

View file

@ -156,6 +156,9 @@ DEBUGFLAGS = -Zi
!if "$(RUBY_DEVEL)" == "yes"
XCFLAGS = $(XCFLAGS) -DRUBY_DEVEL=1
!endif
!if "$(modular_gc_dir)" != ""
XCFLAGS = $(XCFLAGS) -Dmodular_gc_dir="$(modular_gc_dir)"
!endif
!if !defined(OPTFLAGS)
!if $(MSC_VER) < 1400
OPTFLAGS = -O2b2xg-