diff options
author | Noah Misch <noah@leadboat.com> | 2021-04-12 19:24:41 -0700 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2021-04-12 19:27:36 -0700 |
commit | fb9812b6cbdb07313ae8e01c764f8f00d7b36689 (patch) | |
tree | bb73e2dec81392d2977dbc7e3a1dc250b6d42286 /src | |
parent | 72a9bd04780449fcabebce1d09a5225151076b7c (diff) |
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).
Diffstat (limited to 'src')
-rw-r--r-- | src/test/isolation/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/isolation/Makefile b/src/test/isolation/Makefile index 228877b5b03..b79497d1b5f 100644 --- a/src/test/isolation/Makefile +++ b/src/test/isolation/Makefile @@ -9,7 +9,8 @@ subdir = src/test/isolation top_builddir = ../../.. 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) |