summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2022-12-01 19:03:26 -0800
committerAndres Freund <andres@anarazel.de>2022-12-01 19:03:26 -0800
commit069de07eae7328f13be40f1f3988448639c04285 (patch)
tree4110c66ff9f047e540741d8f294089172c716167 /configure
parente0f0e08e17a6186ce299ed8a4385a7a486f304ed (diff)
downloadpostgresql-069de07eae7328f13be40f1f3988448639c04285.tar.gz
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
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure b/configure
index f62fbc5d0f..4b24e36a93 100755
--- a/configure
+++ b/configure
@@ -693,7 +693,6 @@ STRIP_SHARED_LIB
STRIP_STATIC_LIB
STRIP
with_gnu_ld
-LD
LDFLAGS_SL
LDFLAGS_EX
ZSTD_LIBS
@@ -9645,7 +9644,6 @@ with_gnu_ld=$ac_cv_prog_gnu_ld
-
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2