Set `BUILDING_SHARED_GC` when building shared GC

This commit is contained in:
Peter Zhu 2024-07-12 11:38:38 -04:00
Родитель e722f4c57f
Коммит db3472d84c
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1915,7 +1915,7 @@ shared-gc: probes.h
exit 1; \
else \
echo generating $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT); \
$(LDSHARED) -I$(srcdir)/include -I$(srcdir) -I$(arch_hdrdir) -I. $(XDLDFLAGS) $(cflags) -fPIC -o $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT) $(srcdir)/gc/$(SHARED_GC).c; \
$(LDSHARED) -I$(srcdir)/include -I$(srcdir) -I$(arch_hdrdir) $(XDLDFLAGS) $(cflags) -DBUILDING_SHARED_GC -fPIC -o $(shared_gc_dir)librubygc.$(SHARED_GC).$(SOEXT) $(srcdir)/gc/$(SHARED_GC).c; \
fi
help: PHONY