Remove rule to generate postgres.o, not needed for 20+ years
authorAndres Freund <[email protected]>
Thu, 25 Aug 2022 03:37:54 +0000 (20:37 -0700)
committerAndres Freund <[email protected]>
Thu, 25 Aug 2022 03:37:54 +0000 (20:37 -0700)
Discussion: https://postgr.es/m/20220820174213[email protected]

src/backend/Makefile

index 3f01c655927a05d9d0b3410880bf8c19ddbaad34..f498cfd593091adfd04b3bd35ddae50002b30ed7 100644 (file)
@@ -110,12 +110,6 @@ endif # aix
 $(top_builddir)/src/port/libpgport_srv.a: | submake-libpgport
 
 
-# The postgres.o target is needed by the rule in Makefile.global that
-# creates the exports file when MAKE_EXPORTS = true.
-postgres.o: $(OBJS)
-       $(CC) $(LDREL) $(call expand_subsys,$^) $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@
-
-
 # The following targets are specified in make commands that appear in
 # the make files in our subdirectories. Note that it's important we
 # match the dependencies shown in the subdirectory makefiles!