summaryrefslogtreecommitdiff
path: root/src/Makefile.global.in
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 /src/Makefile.global.in
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 'src/Makefile.global.in')
-rw-r--r--src/Makefile.global.in3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index 346b73260f..6ee0f51301 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -289,7 +289,6 @@ LDAP_LIBS_FE = @LDAP_LIBS_FE@
LDAP_LIBS_BE = @LDAP_LIBS_BE@
UUID_LIBS = @UUID_LIBS@
LLVM_LIBS=@LLVM_LIBS@
-LD = @LD@
with_gnu_ld = @with_gnu_ld@
# It's critical that within LDFLAGS, all -L switches pointing to build-tree
@@ -316,8 +315,6 @@ LDFLAGS = $(LDFLAGS_INTERNAL) @LDFLAGS@
LDFLAGS_EX = @LDFLAGS_EX@
# LDFLAGS_SL might have already been assigned by calling makefile
LDFLAGS_SL += @LDFLAGS_SL@
-LDREL = -r
-LDOUT = -o
WINDRES = @WINDRES@
X = @EXEEXT@