From 31bd79dda3d26956976e68ff1c2f8c376c7e9ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Kul=C3=ADk?= Date: Tue, 31 May 2022 00:30:57 +0200 Subject: 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] --- template/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'template/Makefile.in') 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@ -- cgit v1.2.1