Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7353782

Browse files
committed
Have dtrace depend on object files directly, not objfiles.txt
Per Mark Johnston, this resolves a build error on FreeBSD related to the fact that dtrace is modifying the generated object files under the hood. Consequently, without this, dtrace gets reinvoked at install time because the object files have been updated. This is a pretty hacky fix, but it shouldn't hurt anything, and it's not clear that it's worth expending any more effort for a feature that not too many people are using. Patch by Mark Johnston. This is arguably back-patchable as a bug fix to the build system, but I'm not certain enough of the consequences to try that. Let's see what the buildfarm (and our packagers) think of this change on master first.
1 parent b8dd19a commit 7353782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ $(top_builddir)/src/include/utils/probes.h: utils/probes.h
188188
$(LN_S) "../../../$(subdir)/utils/probes.h" .
189189

190190

191-
utils/probes.o: utils/probes.d $(SUBDIROBJS)
192-
$(DTRACE) $(DTRACEFLAGS) -C -G -s $(call expand_subsys,$^) -o $@
191+
utils/probes.o: utils/probes.d $(call expand_subsys,$(SUBDIROBJS))
192+
$(DTRACE) $(DTRACEFLAGS) -C -G -s $< $(call expand_subsys,$(SUBDIROBJS)) -o $@
193193

194194

195195
##########################################################################

0 commit comments

Comments
 (0)