mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-07-19 15:01:09 +02:00
Use "-I." in directories holding Bison parsers, for Oracle compilers.
With the Oracle Developer Studio 12.6 compiler, #line directives alter the current source file location for purposes of #include "..." directives. Hence, a VPATH build failed with 'cannot find include file: "specscanner.c"'. With two exceptions, parser-containing directories already add "-I. -I$(srcdir)"; eliminate the exceptions. Back-patch to 9.6 (all supported versions).
This commit is contained in:
parent
4a3de4092b
commit
c8da16ba17
@ -9,7 +9,8 @@ subdir = src/test/isolation
|
|||||||
top_builddir = ../../..
|
top_builddir = ../../..
|
||||||
include $(top_builddir)/src/Makefile.global
|
include $(top_builddir)/src/Makefile.global
|
||||||
|
|
||||||
override CPPFLAGS := -I$(srcdir) -I$(libpq_srcdir) -I$(srcdir)/../regress $(CPPFLAGS)
|
override CPPFLAGS := -I. -I$(srcdir) -I$(libpq_srcdir) \
|
||||||
|
-I$(srcdir)/../regress $(CPPFLAGS)
|
||||||
|
|
||||||
OBJS = specparse.o isolationtester.o $(WIN32RES)
|
OBJS = specparse.o isolationtester.o $(WIN32RES)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user