aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2001-07-15 11:20:01 +0000
committerPeter Eisentraut <peter_e@gmx.net>2001-07-15 11:20:01 +0000
commit6102553e2da773f583c045611bc20d99edd92b9c (patch)
tree8e38fafc78595bad20fc5833f451e38a9214c70a /src
parent1032445e5d9ca0659e725c2203291a5ea898d0de (diff)
downloadpostgresql-6102553e2da773f583c045611bc20d99edd92b9c.tar.gz
postgresql-6102553e2da773f583c045611bc20d99edd92b9c.zip
Make sure the build tree is before the source tree in the include path.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.global.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in
index a9cbabe0b38..a447d4e87c3 100644
--- a/src/Makefile.global.in
+++ b/src/Makefile.global.in
@@ -1,5 +1,5 @@
# -*-makefile-*-
-# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.130 2001/07/10 16:33:01 petere Exp $
+# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.131 2001/07/15 11:20:01 petere Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
@@ -146,7 +146,10 @@ DOCBOOKSTYLE = @DOCBOOKSTYLE@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
-override CPPFLAGS := $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include) $(CPPFLAGS)
+override CPPFLAGS := -I$(top_srcdir)/src/include $(CPPFLAGS)
+ifdef VPATH
+override CPPFLAGS := -I$(top_builddir)/src/include $(CPPFLAGS)
+endif
CC = @CC@
GCC = @GCC@