From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: autoconf: Don't AC_SUBST() LD in configure
Date: Fri, 02 Dec 2022 03:14:21 +0000
Message-ID: <E1p0wVI-001eCo-CM@gemulon.postgresql.org> (raw)
autoconf: Don't AC_SUBST() LD in configure
The only use of $(LD) in Makefiles is for AIX, to generate the export file for
the backend. We only support the system linker on AIX and we already hardcode
the path to a number of other binaries. Removing LD substitution will simplify
the upcoming meson PGXS compatibility.
While at it, add a comment why -r is used.
A subsequent commit will remove the determination of LD from configure as
well.
Discussion: https://postgr.es/m/20221005200710.luvw5evhwf6clig6@awork3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/069de07eae7328f13be40f1f3988448639c04285
Modified Files
--------------
configure | 2 --
configure.ac | 1 -
src/Makefile.global.in | 3 ---
src/backend/Makefile | 8 +++++++-
4 files changed, 7 insertions(+), 7 deletions(-)
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: andres@anarazel.de
Subject: Re: pgsql: autoconf: Don't AC_SUBST() LD in configure
In-Reply-To: <E1p0wVI-001eCo-CM@gemulon.postgresql.org>
References: <E1p0wVI-001eCo-CM@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