Skip to content

Commit d079c41

Browse files
committed
Fix include paths for case of VPATH build.
1 parent c58d5d5 commit d079c41

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/backend/bootstrap/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
#
33
# Makefile for the bootstrap module
44
#
5-
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.29 2001/11/16 16:32:33 petere Exp $
5+
# $Header: /cvsroot/pgsql/src/backend/bootstrap/Makefile,v 1.30 2002/01/09 00:06:42 tgl Exp $
66
#
77
#-------------------------------------------------------------------------
88

99
subdir = src/backend/bootstrap
1010
top_builddir = ../../..
1111
include $(top_builddir)/src/Makefile.global
1212

13+
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
14+
1315
# qnx4's wlink currently crashes with bootstrap.o
1416
ifneq ($(PORTNAME), qnx4)
1517
OBJS= bootparse.o bootscanner.o bootstrap.o

src/interfaces/ecpg/preproc/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.80 2002/01/08 20:41:28 petere Exp $
1+
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.81 2002/01/09 00:06:38 tgl Exp $
22

33
subdir = src/interfaces/ecpg/preproc
44
top_builddir = ../../../..
@@ -8,7 +8,7 @@ MAJOR_VERSION=2
88
MINOR_VERSION=9
99
PATCHLEVEL=0
1010

11-
override CPPFLAGS := -I$(srcdir)/../include $(CPPFLAGS) \
11+
override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) \
1212
-DMAJOR_VERSION=$(MAJOR_VERSION) \
1313
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
1414
-DINCLUDE_PATH=\"$(includedir)\"

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