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

Noah Misch <noah@leadboat.com>

Commit: 13881199ee5760ed5e40df1fa749d9715467f43e
Author: Noah Misch <noah@leadboat.com>
Date: 2021-04-13T02:24:58Z
Releases: 13.3
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