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). Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/455dbc010be53ac61fcb2da83b1e565f4c263449 Modified Files -------------- src/backend/utils/adt/Makefile | 2 ++ src/test/isolation/Makefile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-)
