pgsql: pg_upgrade: Avoid check target accidentally breaking make's --ou

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_upgrade: Avoid check target accidentally breaking make's --ou
Date: 2019-05-21 22:07:48
Message-ID: E1hTCvE-0005LV-Te@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: Avoid check target accidentally breaking make's --output-sync.

When $(MAKE) is present in a rule, make assumes that target is a
submake, and it doesn't need to buffer its output. But in this case
it's a shell script that needs buffered output. Avoid that heuristic,
by referring to $(MAKE) via an indirection.

Discussion: https://postgr.es/m/20190521004717.qsktdsugj3shagco@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5af2e976d72aa345337596cc986237c57e1146b2

Modified Files
--------------
src/bin/pg_upgrade/Makefile | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2019-05-22 03:08:37 pgsql: Implement PREPARE AS statement for ECPG.
Previous Message noreply 2019-05-21 21:08:14 pgsql: Tag refs/tags/REL_12_BETA1 was created