Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a894a83

Browse files
committed
Add comment for why we recompile pgport C files.
# Need to recomple any libpgport object files because we need these # object files to use the same compile flags as libpq. If we used # the object files from libpgport, this would not be true on all # platforms.
1 parent fb2b198 commit a894a83

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/interfaces/libpq/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.141 2006/03/05 15:59:08 momjian Exp $
8+
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.142 2006/04/09 20:27:27 momjian Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -25,7 +25,10 @@ ifneq ($(PORTNAME), win32)
2525
override CFLAGS += $(PTHREAD_CFLAGS)
2626
endif
2727

28-
# Need to recomple any libpgport object files
28+
# Need to recomple any libpgport object files because we need these
29+
# object files to use the same compile flags as libpq. If we used
30+
# the object files from libpgport, this would not be true on all
31+
# platforms.
2932
LIBS := $(patsubst -lpgport,, $(LIBS))
3033

3134
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \

0 commit comments

Comments
 (0)