From 08fbad0afd62690cc82990c0504529ef238ac24d Mon Sep 17 00:00:00 2001
From: Robert Haas <rhaas@postgresql.org>
Date: Thu, 15 Oct 2015 13:16:03 -0400
Subject: [PATCH] Revert "Have dtrace depend on object files directly, not
 objfiles.txt"

This reverts commit 73537828537239923a0f827a92b20502a3efa52d.  Per
report from Tom Lane, this breaks parallel builds.
---
 src/backend/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/backend/Makefile b/src/backend/Makefile
index 29cc01f8868..fb60420b6f1 100644
--- a/src/backend/Makefile
+++ b/src/backend/Makefile
@@ -188,8 +188,8 @@ $(top_builddir)/src/include/utils/probes.h: utils/probes.h
 	    $(LN_S) "../../../$(subdir)/utils/probes.h" .
 
 
-utils/probes.o: utils/probes.d $(call expand_subsys,$(SUBDIROBJS))
-	$(DTRACE) $(DTRACEFLAGS) -C -G -s $< $(call expand_subsys,$(SUBDIROBJS)) -o $@
+utils/probes.o: utils/probes.d $(SUBDIROBJS)
+	$(DTRACE) $(DTRACEFLAGS) -C -G -s $(call expand_subsys,$^) -o $@
 
 
 ##########################################################################
-- 
GitLab