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

Noah Misch <noah@leadboat.com>

Commit: 4749c7ff4932ca593fcde9928904155642c0b496
Author: Noah Misch <noah@leadboat.com>
Date: 2021-04-13T02:27:09Z
Releases: 12.7
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