aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-04-09 20:27:27 +0000
committerBruce Momjian <bruce@momjian.us>2006-04-09 20:27:27 +0000
commita894a833812329a61ebe85fa1d0f84bf5dfb251e (patch)
tree8c969c96235181b088b22d637c966479ae94ae7b /src
parentfb2b198609418db394d150ce43b8e37aa0d8f017 (diff)
downloadpostgresql-a894a833812329a61ebe85fa1d0f84bf5dfb251e.tar.gz
postgresql-a894a833812329a61ebe85fa1d0f84bf5dfb251e.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index 8f2f13905a4..7ec4f82cf8c 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
-# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.141 2006/03/05 15:59:08 momjian Exp $
+# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.142 2006/04/09 20:27:27 momjian Exp $
#
#-------------------------------------------------------------------------
@@ -25,7 +25,10 @@ ifneq ($(PORTNAME), win32)
override CFLAGS += $(PTHREAD_CFLAGS)
endif
-# Need to recomple any libpgport object 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.
LIBS := $(patsubst -lpgport,, $(LIBS))
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \