Skip to content

Commit 6102553

Browse files
committed
Make sure the build tree is before the source tree in the include path.
1 parent 1032445 commit 6102553

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/Makefile.global.in

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*-makefile-*-
2-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.130 2001/07/10 16:33:01 petere Exp $
2+
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.131 2001/07/15 11:20:01 petere Exp $
33

44
#------------------------------------------------------------------------------
55
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -146,7 +146,10 @@ DOCBOOKSTYLE = @DOCBOOKSTYLE@
146146

147147
CPP = @CPP@
148148
CPPFLAGS = @CPPFLAGS@
149-
override CPPFLAGS := $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include) $(CPPFLAGS)
149+
override CPPFLAGS := -I$(top_srcdir)/src/include $(CPPFLAGS)
150+
ifdef VPATH
151+
override CPPFLAGS := -I$(top_builddir)/src/include $(CPPFLAGS)
152+
endif
150153

151154
CC = @CC@
152155
GCC = @GCC@

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