1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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 committed by GitHub
parent 7a0e681426
commit 31bd79dda3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2022-05-31 07:31:17 +09:00
Merged: https://github.com/ruby/ruby/pull/5891

Merged-By: XrXr

View file

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