Content-Length: 274481 | pFad | http://github.com/postgrespro/postgres/commit/1a022f71d86d935cd068a263f1884a24acdf0829

83 Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath builds. · postgrespro/postgres@1a022f7 · GitHub
Skip to content

Commit 1a022f7

Browse files
committed
Add -I$(srcdir) to CPPFLAGS to make psqlscan.c compile in vpath builds.
Not sure why this hasn't been reported before; perhaps it is not needed with newer gcc versions, but it definitely fails here.
1 parent a90e9d6 commit 1a022f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
66
# Portions Copyright (c) 1994, Regents of the University of California
77
#
8-
# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.53 2005/03/25 18:17:13 momjian Exp $
8+
# $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.54 2005/05/24 16:45:23 tgl Exp $
99
#
1010
#-------------------------------------------------------------------------
1111

@@ -17,7 +17,7 @@ include $(top_builddir)/src/Makefile.global
1717

1818
REFDOCDIR= $(top_srcdir)/doc/src/sgml/ref
1919

20-
override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir) $(CPPFLAGS)
20+
override CPPFLAGS := -DFRONTEND -I$(srcdir) -I$(libpq_srcdir) $(CPPFLAGS)
2121

2222
OBJS= command.o common.o help.o input.o stringutils.o mainloop.o copy.o \
2323
startup.o prompt.o variables.o large_obj.o print.o describe.o \

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1a022f71d86d935cd068a263f1884a24acdf0829

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy