Add yjit.o to DTRACE_DEPENDENT_OBJS

In principle, we have a DTrace probe in yjit.c, so yjit.o should be
in DTRACE_DEPENDENT_OBJS for DTRACE_REBUILD=yes builds. This commit
adds to the list.

In practice DTRACE_REBUILD=yes implies the system has a Solaris-like
DTrace and YJIT doesn't support those systems. YJIT_OBJ expands to
nothing, and yjit.c isn't compiled.

I tested on OmniOS v11 r151034m with:

    $ ../src/configure --with-out-ext=psych MAKE=gmake AR=ar debugflags=-g
    $ gmake -j

It builds before and after this change.

[Bug #18480]
This commit is contained in:
Jakub Kulík 2022-05-31 00:30:57 +02:00 коммит произвёл GitHub
Родитель 7a0e681426
Коммит 31bd79dda3
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -200,7 +200,8 @@ DTRACE_DEPENDENT_OBJS = array.$(OBJEXT) \
parse.$(OBJEXT) \ parse.$(OBJEXT) \
string.$(OBJEXT) \ string.$(OBJEXT) \
symbol.$(OBJEXT) \ symbol.$(OBJEXT) \
vm.$(OBJEXT) vm.$(OBJEXT) \
$(YJIT_OBJ)
THREAD_MODEL = @THREAD_MODEL@ THREAD_MODEL = @THREAD_MODEL@