Use "-I." in directories holding Bison parsers, for Oracle compilers.
authorNoah Misch
Tue, 13 Apr 2021 02:24:41 +0000 (19:24 -0700)
committerNoah Misch
Tue, 13 Apr 2021 02:24:58 +0000 (19:24 -0700)
commit13881199ee5760ed5e40df1fa749d9715467f43e
tree2e768c9bc677b6282cbc584d06dc799a416dcfec
parent766c8fce5281f8a7cf690e1fe2dc3a19c326578f
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).
src/backend/utils/adt/Makefile
src/test/isolation/Makefile