Use "-I." in directories holding Bison parsers, for Oracle compilers.

Noah Misch <noah@leadboat.com>

Commit: 455dbc010be53ac61fcb2da83b1e565f4c263449
Author: Noah Misch <noah@leadboat.com>
Date: 2021-04-13T02:24:41Z
Releases: 14.0
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).

Files

PathChange+/−
src/backend/utils/adt/Makefile modified +2 −0
src/test/isolation/Makefile modified +2 −1