Skip to content

Commit 4635d3c

Browse files
committed
Remove redundant DEF_PGPORT handling
DEF_PGPORT already comes in from pg_config.h, so we don't need to pass it in again with a -D option. Apparently a leftover from the shell script conversion.
1 parent cc06e4a commit 4635d3c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/bin/pg_ctl/Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ subdir = src/bin/pg_ctl
1616
top_builddir = ../../..
1717
include $(top_builddir)/src/Makefile.global
1818

19-
override CPPFLAGS := -DDEF_PGPORT=$(DEF_PGPORT) -I$(libpq_srcdir) $(CPPFLAGS)
19+
override CPPFLAGS := -I$(libpq_srcdir) $(CPPFLAGS)
2020

2121
OBJS= pg_ctl.o $(WIN32RES)
2222

@@ -36,7 +36,3 @@ uninstall:
3636

3737
clean distclean maintainer-clean:
3838
rm -f pg_ctl$(X) $(OBJS)
39-
40-
41-
# ensure that changes in DEF_PGPORT propagate into object file
42-
pg_ctl.o: pg_ctl.c $(top_builddir)/src/Makefile.global

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy