mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Make sure the build tree is before the source tree in the include path.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
# -*-makefile-*-
|
# -*-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,
|
# All PostgreSQL makefiles include this file and use the variables it sets,
|
||||||
@ -146,7 +146,10 @@ DOCBOOKSTYLE = @DOCBOOKSTYLE@
|
|||||||
|
|
||||||
CPP = @CPP@
|
CPP = @CPP@
|
||||||
CPPFLAGS = @CPPFLAGS@
|
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@
|
CC = @CC@
|
||||||
GCC = @GCC@
|
GCC = @GCC@
|
||||||
|
Reference in New Issue
Block a user