aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub KulĂ­k <Kulikjak@gmail.com>2022-05-31 00:30:57 +0200
committerGitHub <noreply@github.com>2022-05-30 18:30:57 -0400
commit31bd79dda3d26956976e68ff1c2f8c376c7e9ea5 (patch)
tree9a8c454356e8991a0f79a43c595fd3c8df8173b1
parent7a0e68142630cca9679cb3c19bf58de899a195be (diff)
downloadruby-31bd79dda3d26956976e68ff1c2f8c376c7e9ea5.tar.gz
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]
-rw-r--r--template/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index e55f466efc..a8581260b9 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -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@