pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix program build rule in src/bin/scripts/Makefile.
Date: Sat, 05 Jan 2019 00:12:28 +0000
Message-ID: <E1gfZZk-0007tI-0R@gemulon.postgresql.org> (raw)

Fix program build rule in src/bin/scripts/Makefile.

Commit 69ae9dcb4 added a globally-visible "%: %.o" rule, but we failed
to notice that src/bin/scripts/Makefile already had such a rule.
Apparently, the later occurrence of the same rule wins in nearly all
versions of gmake ... but not in the one used by buildfarm member jacana.
jacana is evidently using the global rule, which says to link "$<",
ie just the first dependency.  But the scripts makefile needs to
link "$^", ie all the dependencies listed for the target.

There is, fortunately, no good reason not to use "$^" in the global
version of the rule, so we can just do that and get rid of the local
version.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c5c7fa261f57fadd93f166dc33ce2b1d188ad4e7

Modified Files
--------------
src/Makefile.global.in   |  2 +-
src/bin/scripts/Makefile | 19 ++++++++-----------
2 files changed, 9 insertions(+), 12 deletions(-)



Message-ID: <E1gfZZk-0007tI-0R@gemulon.postgresql.org>
Permalink:  ../E1gfZZk-0007tI-0R@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gfZZk-0007tI-0R@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix program build rule in src/bin/scripts/Makefile.
  In-Reply-To: <E1gfZZk-0007tI-0R@gemulon.postgresql.org>
  References: <E1gfZZk-0007tI-0R@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox